Commit graph

75 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
8a20998f8c Re-enable name="notify" to task editor to enable notifications (#67) 2019-04-11 00:05:44 -07:00
Scot Hacker
e7655ccfe8 Implement attachment removal 2019-04-08 23:46:34 -07:00
Scot Hacker
ab929b07e1 Limit attachments to specified file types 2019-04-07 23:55:31 -07:00
Scot Hacker
8cd169e502 MIsc tweaks 2019-04-07 16:11:28 -07:00
Scot Hacker
b6c2227417 Working file upload dialog and receive in view 2019-04-07 16:11:19 -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
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
c6bd3bcdb0 Replace staticfiles in templates 2018-12-20 16:41:34 -08:00
Scot Hacker
782950d904 Fix / improve notification email subjects and bodies 2018-04-08 23:32:52 -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
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
d8b2600775 No created_date in edit form 2018-04-06 22:52:43 -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
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
0d7a933d1c Format process buttons 2018-03-24 17:16:12 -07:00
Scot Hacker
e4643eea26 Fix doublespace listing of Groups on AddList form 2018-03-24 16:57:06 -07:00
Scot Hacker
b3194da825 Search results tweak 2018-03-24 16:48:09 -07:00
Scot Hacker
d8cdd268d5 Bootstrap external ticket view 2018-03-24 16:42:16 -07:00
Scot Hacker
0992c43d8b Finish bootstrapping task detail 2018-03-24 16:30:32 -07:00
Scot Hacker
07e02b56f7 Consolidate forms for task creation and editing 2018-03-24 12:24:49 -07:00
Scot Hacker
bc8adb63f5 Bootstrap task detail WIP 2018-03-20 23:57:37 -07:00
Scot Hacker
998b53463d Finish bootstrapping list_detail 2018-03-20 00:09:52 -07:00
Scot Hacker
3be7ea7745 Bootstrapping list_detail / Add Task view 2018-03-19 00:41:52 -07:00
Scot Hacker
c470864c86 Bootstrap 4 in list_lists 2018-03-16 00:25:18 -07:00
Scot Hacker
0daf9336c0 Replace locals() with context dicts 2018-03-14 23:54:58 -07:00
Scot Hacker
f853296aa8 Indentation cleanup 2018-03-13 23:48:34 -07:00
Scot Hacker
2bab3ec703 Clean up No Comments rendering 2018-03-13 23:33:28 -07:00
Scot Hacker
982864e1ba Don't show table unless there are items to show 2018-03-12 23:20:39 -07:00
Scot Hacker
b361abeaf6 Update external ticketing system 2018-02-12 23:38:48 -08:00
Scot Hacker
be9a87fc0f Implment most of external ticket filing system 2018-02-12 00:04:39 -08:00
Scot Hacker
91c0075ccf Don't try to send notification email if assigned_to is blank
- Supports unassigned tasks
2018-02-11 23:01:37 -08:00
Scot Hacker
5cbfc554ee Re-enable "mine" tasks 2018-02-11 22:57:35 -08:00
Scot Hacker
5c1d98d952 Improve display of completed status 2018-02-11 00:48:19 -08:00
Scot Hacker
3d93e176e8 Improve permission checking on detail views 2018-02-11 00:38:13 -08:00
Scot Hacker
8cba92b571 Better template filenames
- Also removes some extraneous CSS classes
2018-02-10 23:28:35 -08:00
Scot Hacker
fc4fa7b7f3 Move JS to bottom of list_detail 2018-02-10 00:25:56 -08:00
Scot Hacker
efc2dbe11a Rename List model to TaskList 2018-02-10 00:25:28 -08:00
Scot Hacker
774cd3d057 list_detail indentation 2018-02-04 23:24:27 -08:00
Scot Hacker
1fff35c613 Indentation fix in list_detail template 2018-02-04 01:01:48 -08:00
Scot Hacker
0c42de2ffb Rename some views and URLs more logically 2018-02-04 00:35:04 -08:00
Scot Hacker
c348ea1179 Remove datepicker dependency 2018-02-04 00:34:09 -08:00
Scot Hacker
90c41d1f29 Django 2.0 compatibility (requirement)
- URLs to path() style
- Misc updates
- Namespaces all URL references
- Removes dependency on AutoSlugField
- Cleaner reversals
- Cleaner docstrings
2018-02-03 00:09:23 -08:00