Commit Graph

664 Commits (dac6ba5900f645ae26624752f564b470664ceb4a)

Author SHA1 Message Date
Tom Hacohen dac6ba5900 Login: automatically log out on expired token.
This is a bit of a workaround.
The problem is that we cache auth tokens, but that auth tokens can expire.
Thins means that we could have a stale auth token after coming back to
the app after a long time, so we need to fetch a new one.

Logging out is a bit of a nuclear option, but since this is a rare
scenario, it can do for now.
2020-04-18 15:34:05 +03:00
Tom Hacohen 84f7a11bbc ICAL.js: fix types of complex rrules 2020-04-11 13:49:50 +03:00
Andrew P Maney 73a3729a70 pim-types: change clone to deep clone using string
fixes #119
2020-04-05 14:03:13 +03:00
Andrew P Maney aa9e85a520 Tasks: fix priority sorting
Priority sorting had some inconsistencies. 
The Infinity was causing tasks to not be sorted (Infinity - Infinity = NaN).
Adding sortByDueDate also ensures better sorting when tasks have the same priority
2020-04-05 09:35:33 +03:00
Andrew P Maney 77f734a227 Tasks: fix alignment in Toolbar menu 2020-04-03 09:47:54 +03:00
Andrew P Maney 7a42ff04d8
UI: pretty error messages
Add Toast component for displaying error messages in a more prominent way
2020-03-31 23:09:15 +03:00
Tom Hacohen 0ce83defcc LoginGate: show an error if the user is inactive. 2020-03-31 16:09:55 +03:00
Andrew P Maney ed4ed86880 Tasks: add show/hide hidden feature 2020-03-30 18:10:41 +03:00
Andrew P Maney 248fdc5838 MUI: updates core
required for lab@4.0.0-alpha.47
2020-03-30 09:52:59 +03:00
Andrew P Maney b78ccfbf8b MUI: fix TimezonePicker types
broken from mui/lab update
2020-03-30 09:52:59 +03:00
Andrew P Maney 7f898d62f6 MUI: upgrade Lab to latest release 2020-03-30 09:52:59 +03:00
Andrew P Maney 36d6308c88 Tasks: change due text to date instead of time to 2020-03-30 01:58:32 +03:00
Andrew P Maney 0b5274887f Tasks: make overdue secondary text red
Also add some logic to display tasks due today as "Due today"
Tasks: fixes
2020-03-28 13:58:46 +03:00
Andrew P Maney 5eea4e89a5 Task edit: fix DateTime's not being properly stored
I messed up a boolean value with my previous pull request. It was causing DateTimes to be stored as Dates and vice-versa.
2020-03-28 10:25:26 +03:00
Andrew P Maney b6b46d2b24 Task edit: change "All Day" to "Include Time" 2020-03-27 00:15:11 +02:00
Andrew P Maney e39974105f Task edit: reword Start Date to "Hide until" 2020-03-26 11:55:18 +02:00
Andrew P Maney e06ccbd21c Tasks edit: add full width styles to timing inputs 2020-03-26 11:55:18 +02:00
Andrew P Maney 39529e66c1 Tasks: add a11y title and aria labels for Toolbar 2020-03-25 13:57:34 +02:00
Andrew P Maney 212dfc7095 Tasks: add search functionality 2020-03-25 13:57:34 +02:00
Andrew P Maney ba00be300e
RRule: handle undefined options.byday
Merge of #108
2020-03-25 13:41:55 +02:00
Andrew P Maney b90adaffb5
Tasks: improve positioning of Toolbar menus
Merges #105
2020-03-23 13:24:04 +02:00
Andrew P Maney 1de7a2ebdd
Tasks: implement sorting
Merge of #104
2020-03-22 13:55:48 +02:00
Andrew P Maney b69b51f558
Tasks: move "Show Completed" to a toolbar menu 2020-03-20 13:33:13 +02:00
Andrew P Maney 74ed60a3fb Tasks: hides Sidebar amount if value 0
Tasks: makes amount conditional more concise
2020-03-19 14:32:54 +02:00
Andrew P Maney e008bc19e8 Tasks: changes dueToday to include all times before today 2020-03-19 09:03:33 +02:00
Andrew P Maney 716240e266 Tasks: adds dueToday getter to TaskType
cleans up some code around filtering by due today
2020-03-18 22:08:13 +02:00
Andrew P Maney 9a7960556b Tasks: adds memoization to Sidebar 2020-03-18 22:04:21 +02:00
Andrew P Maney f3ba0b30ef Tasks: removes unnecessary comments 2020-03-18 21:35:50 +02:00
Andrew P Maney 8ba7709653 Tasks: moves Sidebar specific logic into Sidebar component
also adds amount to Due Today filter
2020-03-18 21:35:50 +02:00
Andrew P Maney 2980305beb Tasks: adds filter by Due Today 2020-03-18 21:35:50 +02:00
Tom Hacohen 02ac73eb25 AddressBook: add missing key property to list items.
Well actually just remove the useless div, but the driver was
to add the missing key prop.
2020-03-18 18:02:49 +02:00
Andrew P Maney effd74e0b2 Tasks: adds filter by tag feature
Squash of #94
2020-03-17 13:25:01 +02:00
Tom Hacohen ec9d8d3329 Revert "Tasks: adds filter by tag feature"
Reverting because I'm not the author. The next commit will have the
right author set.

This reverts commit b14697474c.
2020-03-17 13:23:45 +02:00
Tom Hacohen b14697474c Tasks: adds filter by tag feature
Squash of #94
2020-03-17 13:17:22 +02:00
Andrew P Maney a2d6dacbe4 Settings: change setSettings action to merge with state.
It was overriding state before.
2020-03-17 13:15:48 +02:00
Andrew P Maney 9f618ab36c Tasks: changes margin units from px to em 2020-03-14 21:36:25 +02:00
Andrew P Maney c113c8b283 Tasks: displays tags on Task list items 2020-03-14 21:36:25 +02:00
Andrew P Maney fe8fbfdfd8 Tasks: adds tags 2020-03-14 21:36:25 +02:00
Andrew P Maney 93f06f81cd Tasks: moves misplaced const
a const was accidentally placed in the middle of imports,
that has been moved
2020-03-14 08:44:15 +02:00
dependabot[bot] 56475135b6 Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-14 08:43:28 +02:00
Andrew P Maney f04212a1e6 Tasks: renames some vars from event to task
I assume this is just some cruft from a bad copy-paste
2020-03-13 21:51:08 +02:00
Tom Hacohen 69c38d7e8f Journals list+import: move journal items to the left side. 2020-03-13 17:01:59 +02:00
Tom Hacohen e0e805d009 JournalEntries: use a virtualized list for the entries. 2020-03-13 16:56:17 +02:00
Tom Hacohen 2397cfbe6d AddressBook: use a virtualized list for the contacts. 2020-03-13 16:46:30 +02:00
Tom Hacohen 5cb8dda9cc List: move the list widget to use the material ui list.
Fixes #79.
2020-03-13 16:18:08 +02:00
Tal Leibman 6a5d959777 JournalsList: add icon to titles 2020-03-13 15:23:12 +02:00
Tom Hacohen 8aa4af46f1 TaskEdit: fix crash when saving tasks with no status set. 2020-03-13 11:19:36 +02:00
Tom Hacohen 18967ddb16 TaskEdit: use null coalescing instead of ||.
It technically works because undefined happens to be falsey, but still bad
practice and can lead to errors (especially when copy-pasting).
2020-03-13 11:17:05 +02:00
Andrew P Maney 54302c4c07 License: adds license to Colored Radio 2020-03-13 11:15:59 +02:00
Andrew P Maney 29d1e5cfe5 Tasks: adds mapPriority helper function
handles any possible issues with priorities that aren't 1, 5, or 9
2020-03-13 11:15:59 +02:00