Commit graph

29 commits

Author SHA1 Message Date
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
f6d79879ae
Fix MySQL migration (#57)
* Use CharField, not TextField for MySQL compat.

* black formatting
2019-03-25 07:43:53 -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
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
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
d3d8d5e46c Rename Item model to Task
- With matching model, view, template changes
2018-03-28 22:51:10 -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
Scot Hacker
cc1a48ee6f Completed field on Item should default to False 2018-02-12 23:38:03 -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
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
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
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
9b6418c7b1 Allow unassigned ("anyone") tickets
- Requires a migration
2016-04-09 11:56:27 -07:00
Peter Bittner
767eb75e7d Add flake8 configuration, fix flake8 complaints 2015-09-02 23:30:04 +02:00
Scot Hacker
0f0505f24d Fix field warnings for Django 1.8 (with migration) 2015-06-15 00:11:50 -07:00
Scot Hacker
a9175d575b Use python 2/3 compatible unicode strings 2014-12-02 10:53:38 -08:00
Scot Hacker
bf7dc911b1 Add get_absolute_url() method for todo items 2014-11-10 23:18:44 -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
4bad5fbd06 A task with no due date created an error when checking for completion. 2014-08-03 10:25:01 -04:00
Peter Bittner
d1b1842965 Changed related_name in foreign key created_by (conflict with django-media-tree) 2014-05-31 19:12:02 +02:00
Peter Bittner
e894b14a96 Reformatting only (PEP8) 2014-05-31 19:10:38 +02:00
Grzegorz Kamola
e1995b4c0e Make use of DateField arguments 2011-09-07 12:48:34 +02:00
Scot Hacker
04d1f181a6 Moving module into subdir. 2010-09-27 01:48:00 -07:00