Commit graph

21 commits

Author SHA1 Message Date
Scot Hacker
4f9f379543 Editing task should not change its completed status 2019-09-18 23:18:01 -07:00
james1293
2d40ef471e Only set creator when creating task (#80)
* Only set creator when creating task

* allow blank form input, use clean func to keep old val

* remove unneeded created_date assignment

* add test
2019-07-29 22:53:33 -07:00
james1293
7f576c9bc8 Delete perms: must be staff and in group (#82)
* Delete perms: must be staff and in group

* separate group check and staff check

* test_del_list => test_del_list_not_in_list_group
2019-07-23 22:30:07 -07:00
Scot Hacker
21e0c6d656 Fix bug when retrieving/setting default settings values 2019-06-04 00:40:31 -07:00
Scot Hacker
befc7ad2cd Formatting 2019-04-12 00:09:01 -07:00
Scot Hacker
1cd9700366 Get settings from defaults everywhere, update tests and perms 2019-04-11 23:44:28 -07:00
Scot Hacker
fb94fdb130 Bump version, README for 2.4.0 2019-04-09 00:01:27 -07:00
Scot Hacker
4a99d90d1e
Import tasks via CSV (#51)
* Bare start on CSV support

* Move core of CSV importer to operations

* More validations, break out validation function

* Validate dates and TaskList; convert errors to list of dictionaries

* Finish upsert code, and documentation

* Print msgs from the mgmt command, not the operations module

* Handle BOM marks

* Handle both in-memory and local file objects

* Update readme

* Working browser-upload view

* Bail on incorrect headers

* Fix default values and finish example spreadsheet

* Change column order, update docs

* Update index.md for RTD

* First round of responses to PR feedback

* Restore independent summaries/errors/upserts properties

* PR responses

* Split off reusable date validator into separate function

* Fix URLs append

* General test suite for CSV importer
2019-03-25 23:19:11 -07:00
multun
c7ad961ef3 Implement mail tracker system
* Implement mail tracking

Signed-off-by: Victor "multun" Collod <victor.collod@prologin.org>

* Implement task merging

* Add a mail tracker title format pattern

* Autocomplete task names

* Fix comment display

* Track notification answers

* Add a socket timeout for the mail worker

A mail worker is a long running application. And sometimes, the IMAP server
just hangs for hours for no apparent reason. imaplib doesn't enable setting
a timeout, and setting it globally seems fine.

* Only validate the merge form when submitted

* Redirect to the new form when merging

* Prettier task edit UI

* Make task merging optional

* Test mail tracking

* Update documentation for mail tracking

* Update dependencies

* Add the TODO_COMMENT_CLASSES setting

* Fix dependencies install order

* Remove debug leftovers, improve documentation

* Fail on missing from_address
2019-03-11 00:04:19 -07:00
Scot Hacker
01cab7a82f Convert task_delete and task_done views from GET to POST 2019-02-10 11:06:36 -08:00
Scot Hacker
91b9a099a3 Enforce and test TODO_STAFF_ONLY setting 2019-01-10 00:39:21 -08:00
Scot Hacker
21ec87cee4 Black formatting 2018-12-21 00:38:44 -08:00
Scot Hacker
f526ed5166 Strip unwanted tags from task note and comments 2018-12-20 17:08:09 -08:00
Scot Hacker
9098e3f0d4 Refactor Done and Delete actions in list and detail views 2018-04-08 00:49:01 -07:00
Scot Hacker
3ecf4e58cb Change default list identifier 2018-04-05 22:46:58 -07:00
Scot Hacker
ff49d5cba2 Just enough infrastructure to get tests to pass as standalone app 2018-03-29 23:05:49 -07:00
Scot Hacker
d3d8d5e46c Rename Item model to Task
- With matching model, view, template changes
2018-03-28 22:51:10 -07:00
Scot Hacker
a2d02b0a8c Tests for non-view util functions 2018-03-28 00:07:29 -07:00
Scot Hacker
5b2820df37 Add more permissions tests 2018-03-27 22:51:39 -07:00
Scot Hacker
9d436674db Tests for list mine/not mine 2018-03-26 23:50:14 -07:00
Scot Hacker
f4d1da0ab7 Smoke and permissions tests
And various bug / permissions config tweaks to accompany
2018-03-26 00:37:29 -07:00