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
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
c03bc3579c
Enable Mark Done from task_detail
2018-03-24 16:30:43 -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
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
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
675210586c
Proper docstrings in forms
2018-03-13 00:34:00 -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
cc1a48ee6f
Completed field on Item should default to False
2018-02-12 23:38:03 -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
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
ad33d62024
Fix display of EditItemForm
2018-02-11 01:06:43 -08:00
Scot Hacker
5c1d98d952
Improve display of completed status
2018-02-11 00:48:19 -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
03c125ca50
Refactor do/undo ops into single toggle function
2018-02-10 00:27:00 -08:00
Scot Hacker
0c8d31b6af
Clean up URLs
2018-02-10 00:26:19 -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
f2b87979f2
due_date optional in forms
2018-02-04 00:44:15 -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
f0adb90224
Use HTML5 date inputs for due_date
2018-02-04 00:33:12 -08:00
Scot Hacker
58ac51a260
URLs tweak
2018-02-03 16:24:52 -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
Scot Hacker
238e39085d
Bump version to 1.6.2
2017-04-13 00:25:43 -07: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
Manos Pitsidianakis
710cb1a0ad
Add utf-8 support in slugs with autoslug
...
Slugs end up empty if list name consists only of non-ascii characters
and that results in an error. Autoslug converts non-ascii characters to
appropriate ascii ones and auto-updates the slug when list name changes.
Add unidecode dependency and fix PEP8 errors
models.py: add one blank line for PEP8
2017-04-12 00:30:54 +03:00
Scot Hacker
f235b4effc
Bump version for bug fixes
2016-12-04 23:21:49 -08:00
Scot Hacker
84a2e6ca08
PEP-8 enhancements
2016-12-04 23:17:34 -08:00
shantisuresh01
1a0d641650
Restored __init__.py
2016-12-01 09:38:55 -05:00
shantisuresh01
358acf315d
removed unneeded temp folder
2016-11-30 16:33:38 -05: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
shantisuresh01
9bbc09dba8
forms.py: used get_user_model() inside __init__ instead of User, to facilitate late binding, models.py: used settings.AUTH_USER_MODEL instead of user
2016-11-28 16:15:46 -05:00
Scot Hacker
6a78c3f8b0
Fix variable name in list_view template
2016-09-23 12:07:19 -07: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
290345e70a
Bump version to 1.6
2016-04-11 00:05:59 -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
Peter Bittner
dadb8f1ff6
Add tox configuration and integration with setup.py
...
Add Travis CI build server configuration
Add badges and Tests section to README
Bump version (development)
2016-04-10 19:42:24 +02:00
Scot Hacker
33ec166c6f
Remove remaining ifequal
tags
2016-04-09 23:29:51 -07:00
Scot Hacker
37bb0fb5a2
Show "Anyone" for unassigned tasks in search results
2016-04-09 23:22:45 -07:00
Scot Hacker
9b6418c7b1
Allow unassigned ("anyone") tickets
...
- Requires a migration
2016-04-09 11:56:27 -07:00
Scot Hacker
5e4f6e8d77
More template cleanup
2016-04-09 11:52:16 -07:00
Scot Hacker
c42a03cee9
Replace render_to_response() with render()
2016-04-09 02:45:47 -07:00
Scot Hacker
eaeb870aad
Remove stray management_form
refs
2016-04-09 02:37:28 -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
Scot Hacker
74f3a92cdd
Note should not be a required field
2015-09-02 23:49:28 -07:00
Peter Bittner
d8444cec60
Bump version number for release 1.5
2015-09-02 23:30:39 +02:00
Peter Bittner
767eb75e7d
Add flake8 configuration, fix flake8 complaints
2015-09-02 23:30:04 +02:00
Scot Hacker
c408224e02
Custom exception for missing superuser in settings
2015-06-15 00:12:52 -07:00
Scot Hacker
85c45ecbfc
URLs tweak
2015-06-15 00:12:17 -07:00
Scot Hacker
0f0505f24d
Fix field warnings for Django 1.8 (with migration)
2015-06-15 00:11:50 -07: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
a9175d575b
Use python 2/3 compatible unicode strings
2014-12-02 10:53:38 -08:00
Scot Hacker
6e032b22bb
Enable simple search of tasks
2014-11-17 14:42:17 -08:00
Scot Hacker
bf7dc911b1
Add get_absolute_url() method for todo items
2014-11-10 23:18:44 -08:00
Scot Hacker
73adbb872c
Bump version to 1.5.dev for future
2014-11-09 11:22:09 -08:00
Peter Bittner
2a8a39ef8c
Fix version number to upload to PyPI
2014-11-09 09:31:58 +01:00
Scot Hacker
6d54d5b129
Remove deprecated cycle tag from templates
2014-11-07 23:43:57 -08:00
Scot Hacker
d4cba204c1
Specify exclude Meta on form definitions
2014-11-07 23:43:27 -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
b388aece1b
Remove most CSS, clean up templates
...
- Assume the existing site has its own styles
2014-11-07 22:26:53 -08:00
Scot Hacker
30127a23de
Set default value for boolean Item.completed
2014-11-07 22:04:23 -08:00
Scot Hacker
37ea8a8a75
Neutralize some assumptions
2014-11-07 10:42:53 -08:00
Lee Phillips
86474625a4
Display full names as well as usernames in the assign_to dropdown when
...
adding a task.
2014-10-06 14:01:55 -04:00
Scot Hacker
94b01d868d
Remove stray CSS reference; whitespace
...
Fixes #17
2014-08-26 12:45:30 -07:00
Scot Hacker
305dfc0f93
Indentation fix
2014-08-03 09:27:28 -07:00