Commit graph

167 commits

Author SHA1 Message Date
Scot Hacker
9a5c794c41 Formatting 2019-04-06 16:39:34 -07:00
Scot Hacker
276ead54e7 Modeling and admin for attachment support 2019-04-06 16:30:01 -07:00
Scot Hacker
388fb40c00 Bump version to 2.3.1 2019-04-01 23:48:54 -07:00
Scot Hacker
e9a7bbe48c Improve error handling for web upload of bad CSV 2019-04-01 23:41:04 -07:00
Scot Hacker
ad0a1aa44a Don't crash if CSV web importer does not receive a file 2019-04-01 23:17:57 -07:00
Scot Hacker
6996c25842 Make comment field required 2019-03-25 23:42:59 -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
Scot Hacker
184084c6a8
Prevent occasional crash during task re-ordering
Prevent occasional crash during task re-ordering
2019-03-25 07:45:26 -07:00
Scot Hacker
f6d79879ae
Fix MySQL migration (#57)
* Use CharField, not TextField for MySQL compat.

* black formatting
2019-03-25 07:43:53 -07:00
multun
70cac8b4e9 Fix IMAP mail deletion (#54)
Fixes #53
2019-03-11 23:28:40 -07:00
Scot Hacker
3b9c47cd7c Bump init version to 2.3.0 2019-03-11 00:39:01 -07:00
Scot Hacker
575e2649ac Fix dal_check integrity error when autocomplete not enabled 2019-03-11 00:34:55 -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
d0212b8a55 Update dependencies 2019-03-03 18:39:35 -08: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
8e52aad828 Move index.md to docs dir 2019-01-10 23:18:09 -08:00
Scot Hacker
513ef59d4a Add comment 2019-01-10 00:54:14 -08:00
Scot Hacker
91b9a099a3 Enforce and test TODO_STAFF_ONLY setting 2019-01-10 00:39:21 -08:00
Scot Hacker
6953085285 Correctly specify minimum requirement of Python 3.6 2019-01-08 23:11:13 -08:00
Scot Hacker
78e9c510bc Split up views into separate modules 2018-12-21 02:00:36 -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
c6bd3bcdb0 Replace staticfiles in templates 2018-12-20 16:41:34 -08:00
madscientistproductions
c41d15344b
Update views.py
Fix MultipleObjects error that happens if you have multiple lists of the same name and you delete one.
2018-12-11 17:16:13 +01:00
Scot Hacker
c18080c55d Bump release version for pypi 2018-04-10 08:23:44 -07:00
Scot Hacker
3991a2c82c Bump version 2018-04-08 23:33:52 -07:00
Scot Hacker
782950d904 Fix / improve notification email subjects and bodies 2018-04-08 23:32:52 -07:00
Scot Hacker
5805cf52ad Increment version in readme 2018-04-08 00:58:32 -07:00
Scot Hacker
9098e3f0d4 Refactor Done and Delete actions in list and detail views 2018-04-08 00:49:01 -07:00
Scot Hacker
4fe3829b98 Fix silent crasher when reordering table rows 2018-04-07 23:31:24 -07:00
Scot Hacker
b570d30f83 Bump version to 2.0 2018-04-07 11:53:30 -07:00
Scot Hacker
f0d2725ceb gitignire .pytest_cache 2018-04-07 11:45:06 -07:00
Scot Hacker
bb463f3974 Auto-create slug on New TaskList 2018-04-07 11:34:47 -07:00
Scot Hacker
4e8960c12f Disable Add List button for non-staff 2018-04-07 10:26:21 -07:00
Scot Hacker
d9414f6de8 Change error msgs to warnings 2018-04-07 00:20:42 -07:00
Scot Hacker
252153e16a Always use example.com for fake users 2018-04-06 23:51:17 -07:00
Scot Hacker
d8b2600775 No created_date in edit form 2018-04-06 22:52:43 -07:00
Scot Hacker
321c521fc3 Hopper fix when getting user in factory 2018-04-05 23:14:56 -07:00
Scot Hacker
3ecf4e58cb Change default list identifier 2018-04-05 22:46:58 -07:00
Scot Hacker
97bcfd96c2 Require -d to delete old content on hopper run, randomize num tasks per list 2018-04-05 22:32:31 -07:00
Scot Hacker
1f27688aa4 Complete fake data loading via hopper
- Includes mods to task.created_date to allow overrides
2018-04-05 00:27:53 -07:00
Scot Hacker
403d1483f6 Start of hopper management command 2018-04-03 00:28:41 -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
97e596f463 Refactor utils to NOT take request
For testability / separation of concerns
2018-03-27 23:17:01 -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
dbc379da6a Custom perm decorator to raise 403 2018-03-26 23:49:25 -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