Commit graph

54 commits

Author SHA1 Message Date
Scot Hacker
97e596f463 Refactor utils to NOT take request
For testability / separation of concerns
2018-03-27 23:17:01 -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
Scot Hacker
c03bc3579c Enable Mark Done from task_detail 2018-03-24 16:30:43 -07:00
Scot Hacker
07e02b56f7 Consolidate forms for task creation and editing 2018-03-24 12:24:49 -07:00
Scot Hacker
3be7ea7745 Bootstrapping list_detail / Add Task view 2018-03-19 00:41:52 -07:00
Scot Hacker
7e0435a948 Get task_list before checking for groups 2018-03-16 00:24:58 -07:00
Scot Hacker
439689b32e Clean up list_detail view 2018-03-15 23:16:33 -07:00
Scot Hacker
0daf9336c0 Replace locals() with context dicts 2018-03-14 23:54:58 -07:00
Scot Hacker
35cfd2eb39 Move "email thread participants" into utils 2018-03-14 00:22:37 -07:00
Scot Hacker
2bab3ec703 Clean up No Comments rendering 2018-03-13 23:33:28 -07:00
Scot Hacker
d9a0460942 Add type checking to views 2018-03-13 00:30:10 -07:00
Scot Hacker
fe7036dae3 Proper exception handling for email send error 2018-03-12 23:33:14 -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
929f8df727 Search only shows results in groups of which user is a member 2018-02-11 23:18:48 -08:00
Scot Hacker
0f018b8572 Remove extraneous search view 2018-02-11 23:05:33 -08:00
Scot Hacker
5cbfc554ee Re-enable "mine" tasks 2018-02-11 22:57:35 -08:00
Scot Hacker
ad33d62024 Fix display of EditItemForm 2018-02-11 01:06:43 -08:00
Scot Hacker
1c2a247f83 Remove errant permission note 2018-02-11 00:44:16 -08:00
Scot Hacker
3d93e176e8 Improve permission checking on detail views 2018-02-11 00:38:13 -08:00
Scot Hacker
4d0801313c Improve on bare excepts
- And simplify email sending recipient gathering
2018-02-10 23:44:26 -08:00
Scot Hacker
8cba92b571 Better template filenames
- Also removes some extraneous CSS classes
2018-02-10 23:28:35 -08:00
Scot Hacker
efc2dbe11a Rename List model to TaskList 2018-02-10 00:25:28 -08:00
Scot Hacker
0c42de2ffb Rename some views and URLs more logically 2018-02-04 00:35:04 -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
Manos Pitsidianakis
fc9f5d1bb4 views.py: Fix variable artifact in del_list()
del_list has no name attribute. We want the name of the deleted list.
2017-04-12 00:31:27 +03:00
Scot Hacker
84a2e6ca08 PEP-8 enhancements 2016-12-04 23:17:34 -08:00
shantisuresh01
10df9f2cdf view_list.html: Changed del_task to del_tasks, views.py: Changed del_task back to del_tasks 2016-11-30 16:32:22 -05:00
Scot Hacker
1ff499a003 Reduce complexity of view_list to bring tox complexity down to 10 2016-08-02 01:32:29 -07:00
Scot Hacker
9c3000f572 Fix list view when lists in different groups have same slug
- Also fix bad messages when deleting items from lists
2016-07-28 00:13:51 -07:00
Scot Hacker
039fee9a30 View optimizations 2016-04-11 00:04:42 -07:00
Scot Hacker
d9f1a8fcb4 Use True, not 1 2016-04-10 23:50:28 -07:00
Scot Hacker
2702b6280b PEP-8 compliance 2016-04-10 23:44:11 -07:00
Peter Bittner
a0b92e38c8 Fix flake8 complaints
Move flake8 configuration into tox config file
2016-04-10 20:06:21 +02:00
Scot Hacker
9b6418c7b1 Allow unassigned ("anyone") tickets
- Requires a migration
2016-04-09 11:56:27 -07:00
Scot Hacker
c42a03cee9 Replace render_to_response() with render() 2016-04-09 02:45:47 -07:00
Scot Hacker
37aef01c0f Clean-up / modernize templates and views 2016-04-09 02:23:11 -07:00
Scot Hacker
8ee28118fe Django 1.9 compatibility
- Remove deprecated `load ur from future`
- Refactor urls.py as list
2016-01-06 23:44:57 -08:00
Scot Hacker
c3e47ba438 Don't require superuser
Just require default_assignee for anon ticket submissions
Resolves https://github.com/shacker/django-todo/issues/25
2016-01-05 23:57:47 -08:00
Peter Bittner
767eb75e7d Add flake8 configuration, fix flake8 complaints 2015-09-02 23:30:04 +02:00
Scot Hacker
bfb0820606 Text tweak 2015-06-15 00:10:27 -07:00
Scot Hacker
0f4538ee16 Remove print statement 2014-12-11 14:58:09 -08:00
Scot Hacker
6e032b22bb Enable simple search of tasks 2014-11-17 14:42:17 -08:00
Scot Hacker
5689ed2b51 Add new settings for default list ID, default assignee, default redirect on public ticket submission 2014-11-07 23:28:39 -08:00
Scot Hacker
305dfc0f93 Indentation fix 2014-08-03 09:27:28 -07:00
Lee Phillips
27147637ec When there is only one group, do not force the user to select it in the add_list form. 2014-08-02 22:44:56 -04:00
Lee Phillips
7eb488cfa9 The top view (list of lists) generated a javascript error because base.html refers to thedate, which the view function list_lists did not define. 2014-06-22 00:37:51 -04:00
Peter Bittner
e894b14a96 Reformatting only (PEP8) 2014-05-31 19:10:38 +02:00