Commit Graph

703 Commits (eb199c53c3bcb47b52d818e3ac9944ff409fe84b)

Author SHA1 Message Date
ramzan eb199c53c3
Contact edit: allow editing of name field rather than fn field.
Fixes #80.
2020-07-17 08:44:07 +03:00
ramzan 96029a0f0c
Check if the item exists before rendering the page
Redirect to 404 page if the item doesn't exist.

Fixes #3.
2020-07-17 08:41:49 +03:00
Tom Hacohen ad6ac59c4f Task list: support infinitely deep task hierarchies.
Another step towards fixing #124.
2020-07-16 15:38:14 +03:00
Tom Hacohen 484825b1db TaskList: cleanup a bit. 2020-07-16 13:22:28 +03:00
Tom Hacohen 6ea7bd79cf Task list: implement 1-level task hierarchy.
This is the first step towards fixing #124
2020-07-16 13:22:09 +03:00
Tom Hacohen 2547fb9ae7 Contact: show a contact's photo if available. 2020-07-12 17:23:51 +03:00
Tom Hacohen 985f39930b Debug page: support printing all entries. 2020-07-05 12:45:09 +03:00
Tom Hacohen cf4513a05b Log entries: show the entry uid. 2020-07-05 12:38:18 +03:00
Tom Hacohen d4ca0a3ec4 Errors: append in bulk rather than 1 by 1. 2020-07-05 12:28:26 +03:00
Tom Hacohen 06e4e4a5d3 Rename addError action to fix fetch count.
Fetch count increments/decrements based on all actions prefixed with add
which means addError was also triggering it.
This broke the fetchCount count.
2020-07-05 11:58:59 +03:00
Ramzan de07f76c92 Implement an auto refresh function that calls fetchAll every minute
if the user is online and logged in.

Fixes #28.
2020-07-05 10:24:23 +03:00
Tom Hacohen b394484f3c Implement an undelete function to mass-undelete changes. 2020-07-03 16:35:19 +03:00
Tom Hacohen 728ac6124f Enable eslint for type definitions and fix issues. 2020-07-02 14:46:28 +03:00
Tom Hacohen 616052ecc5 Improve journals page look and feel. 2020-07-02 14:15:14 +03:00
Tom Hacohen 7fe2cd1f60 Change default collection names from 'Default' to be descriptive
A step towards fixing https://github.com/etesync/android/issues/118
2020-07-02 13:20:31 +03:00
Tom Hacohen 64753586e3 Clear recurrence options when changing freq.
Apparently iCal.js doesn't filter it itself so we have to do it,
otherwise we can create malformed recurrence options.

Fixes #134.
2020-07-02 09:12:51 +03:00
Tom Hacohen 9400abdbf4 Revert "reset options if freq changes"
This reverts commit f64169385e.
2020-07-02 09:04:26 +03:00
Tom Hacohen 2b8fa751b7 Revert "when using multiple select must have and array with default values"
This reverts commit 7595be4df7.
2020-07-02 09:04:23 +03:00
Tal Leibman 7595be4df7 when using multiple select must have and array with default values 2020-07-01 22:07:38 +03:00
Tal Leibman f64169385e reset options if freq changes 2020-07-01 22:07:38 +03:00
Tom Hacohen fb8f3ff574 Task/Event: enable word wrapping for decsriptions.
Fixes #135.
2020-07-01 09:40:35 +03:00
Tom Hacohen f372f36005 Tag edit: make it possible to use non-existing tags.
This is a workaround until #133 is properly solved. The tag list still
only autocompletes from a pre-defined list, but at least now you can
just set new tags as you wish.
2020-06-21 14:43:44 +03:00
Tom Hacohen f0ec85d635 Fix link color to be nicer (especially in dark mode). 2020-06-21 14:36:59 +03:00
Tom Hacohen f80ce5b458 Theme: add a class to indicate if in dark mode. 2020-06-21 14:36:59 +03:00
Tom Hacohen fd0a83d6a2 External link: also add noreferrer. 2020-06-21 14:36:58 +03:00
dependabot[bot] 5b5b2f9cb4 Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-07 17:30:13 +03:00
Tom Hacohen db2f75ae1f Fix item UIDs with illegal url characters in them by urlescaping them.
Fixes #47.
2020-06-01 11:48:58 +03:00
Daniel Saier c0cc2188c5 Add an option for changing the default API URL during the build 2020-05-31 18:37:02 +03:00
Tom Hacohen ca6353ac11
README: improve notes about running your own version 2020-05-25 18:55:32 +03:00
Tom Hacohen 9f1c077c0c deploy: upload a tar of the generated site for easy self-hosting.
The content of the tar is signed and can be verified with signed-pages,
exactly like the hosted version at client.etesync.com

Fixes #125
2020-05-25 18:46:34 +03:00
Tom Hacohen 435256bede Experimental: add dark mode.
It's been ready for a while, though we haven't bothered enabling it because the
calendar view is less than great, though I think it makes sense to enable it
now as experimental and improve it as we go.

Fixes #128.
2020-05-22 10:52:25 +03:00
Tom Hacohen f3a533ab2d Settings: change to react hooks + remove unneeded props. 2020-05-22 10:48:47 +03:00
Tom Hacohen bf7590dd91 Fix linting errors. 2020-05-13 13:32:52 +03:00
Tom Hacohen 592bb17ff7 Update react and react-scripts. 2020-05-13 13:32:01 +03:00
Tom Hacohen 2d778065c8 ContactEdit: make addresses multiline. 2020-05-13 13:18:26 +03:00
Andrew P Maney 04c4ae94cd Tasks: fix Edit error Toast severity 2020-04-20 10:08:02 +03:00
Andrew P Maney 508d02a0ea Tasks: batched uploads for recurring task completion 2020-04-20 10:08:02 +03:00
Andrew P Maney de94a02025 Task: add recurrence features to list view 2020-04-20 10:08:02 +03:00
Andrew P Maney aada3e6d36 Tasks: add recurrence to Edit 2020-04-20 10:08:02 +03:00
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