Commit graph

211 commits

Author SHA1 Message Date
Max Pozdeev
4988741e62 + ability to see config params as json with #settings.json or ctrl+click on settings 2022-02-01 16:40:56 +03:00
Max Pozdeev
1c0e07a156 * add Markdown checkbox to settings 2022-02-01 16:35:07 +03:00
Max Pozdeev
d913efb309 rename settings link id to settings_btn 2022-02-01 15:49:47 +03:00
Max Pozdeev
23ddd8cbe2 use random_bytes to generate UUID v4 2022-01-31 23:01:59 +03:00
Max Pozdeev
efedefdae5 use new config file for database connection, setup is updated to support it 2022-01-31 21:49:26 +03:00
Max Pozdeev
d6ca663d4e * friendy messages if no lists to show 2022-01-15 21:00:51 +03:00
Max Pozdeev
26567ee59b reset location hash on logout to avoid reloading possible unaccessible list 2022-01-15 15:27:35 +03:00
Max Pozdeev
f5fd1f74bb support markdown in rss feed 2022-01-15 00:07:03 +03:00
Max Pozdeev
341eeac12a maintain license headers 2022-01-14 22:45:30 +03:00
Max Pozdeev
33810e79f7 * can use #NUMBER to make a link to the task by id in markdown note; opens this link as a search (experimental) 2022-01-14 22:13:04 +03:00
Max Pozdeev
a5b839d142 remove unused code 2022-01-12 21:26:50 +03:00
Max Pozdeev
35e249c7aa * add task id to edit task page 2022-01-12 17:33:39 +03:00
Max Pozdeev
1a82d708bb add phpdoc hints to Config class 2022-01-12 16:02:54 +03:00
Max Pozdeev
deb25cbaa1 - fix js error when no lists to display
(cherry picked from commit 8b4960206d)
2022-01-12 02:05:38 +03:00
Max Pozdeev
2052ad337f * check table prefix while setup
(cherry picked from commit 5edaf9816b)
2022-01-12 02:03:47 +03:00
Max Pozdeev
37f83a9ce7 * rename die2() to logAndDie()
(cherry picked from commit 61bdead019)
2022-01-12 01:44:22 +03:00
Max Pozdeev
9f78149fe1 * use simple token header for ajax request for safety 2022-01-12 01:30:33 +03:00
Max Pozdeev
9c891da92c * make settings safer
(cherry picked from commit 7f2ac0c0c2)
2022-01-12 01:27:44 +03:00
Max Pozdeev
5248a9bc33 * fix incorrect title in browser history in some cases 2022-01-12 00:37:55 +03:00
Max Pozdeev
21f5ba615d fix deprecation notice of null parameter in noteMarkup() in PHP 8.1 2022-01-11 23:35:36 +03:00
Max Pozdeev
01c02ba4f6 use ReturnTypeWillChange attributes to avoid PHP 8.1 deprecation notices in MTTSessionHandler (until PHP 9) 2022-01-11 23:10:10 +03:00
Max Pozdeev
63fca720d2 better handle document title while history navigation 2022-01-11 21:59:18 +03:00
Max Pozdeev
104174a9b3 * add logo and change animation of page loading 2022-01-11 01:17:25 +03:00
Max Pozdeev
d847a2eb07 * handle history navigation with settings page 2022-01-11 00:26:07 +03:00
Max Pozdeev
14c83fda94 reduce number of time() calls in session handler class 2021-08-02 17:12:06 +03:00
Max Pozdeev
96d63686ab little facelifting in mobile style 2021-07-29 21:58:05 +03:00
Max Pozdeev
f5dcbaf6d7 fix for prev commit 2021-07-29 16:55:04 +03:00
Max Pozdeev
73ab4ac10f * use database table for session handling 2021-07-29 16:52:44 +03:00
Max Pozdeev
c9282c71df * hidden state of all tasks list is saved in settings now 2021-07-28 22:56:55 +03:00
Max Pozdeev
bf7402794c refactor Config class (domain request) 2021-07-28 21:33:20 +03:00
Max Pozdeev
34f837d8d2 * general settings are stored in database 2021-07-28 18:05:14 +03:00
Max Pozdeev
0a5fdbbffa move DBConnection class to separate file 2021-07-26 22:04:12 +03:00
Max Pozdeev
b9fd47b182 continue refactor db classes 2021-07-26 19:18:09 +03:00
Max Pozdeev
e1c5540c13 continue refactor db classes 2021-07-26 19:13:57 +03:00
Max Pozdeev
651f9687f9 implement DBConnection::setPrefix() 2021-07-26 17:34:48 +03:00
Max Pozdeev
938a72e7ed move Config class to separate file 2021-07-25 19:20:24 +03:00
Max Pozdeev
c597b07559 fix urls in task title were unclickable 2021-07-25 17:17:27 +03:00
Max Pozdeev
648364aa23 * add support of PDO mysql extension (try it by default while setup) 2021-07-25 00:10:27 +03:00
Max Pozdeev
3c769c6d31 rename mysql class to class.db.mysqli.php 2021-07-24 23:17:19 +03:00
Max Pozdeev
ae88f3b75b fix for prev commit 2021-07-24 23:14:30 +03:00
Max Pozdeev
a437ecd48b refactor db classes 2021-07-24 22:48:30 +03:00
Max Pozdeev
8fe4cbf882 restructure task row 2021-07-19 21:37:45 +03:00
Max Pozdeev
e4d147eeba * click on task title only will toggle 'clicked' class, only one task can be 'clicked' (fix for 665f497) 2021-07-16 19:11:06 +03:00
Max Pozdeev
1826a04e91 ignore click events on links in task title 2021-07-15 22:19:14 +03:00
Max Pozdeev
9fcafb7f8a clickable urls in task title and v1 note supports IDN (fixes GH-12) 2021-07-15 21:43:50 +03:00
Max Pozdeev
c4873ff3d3 remove unused code 2021-07-15 21:03:26 +03:00
Max Pozdeev
b1f45773f3 * update jQuery to v3.6.0 2021-07-15 20:22:28 +03:00
Max Pozdeev
665f497b64 * click on task title only will toggle 'clicked' class 2021-07-14 22:28:35 +03:00
Max Pozdeev
e74c1b4678 do not use 'doubleclicked' class on task 2021-07-14 21:37:35 +03:00
Max Pozdeev
2be3af374d replace index.php with empty index.html in some places 2021-07-14 19:03:52 +03:00
Max Pozdeev
59fe50b31d * add support of markdown in notes (using Parsedown library) 2021-07-13 12:49:07 +03:00
Max Pozdeev
63acc1a2e8
Merge pull request #13 from maxpozdeev/v1.6.x
V1.6.5
2021-06-27 16:07:01 +03:00
Max Pozdeev
b158e769cc
Merge branch 'master' into v1.6.x 2021-06-27 16:03:53 +03:00
Max Pozdeev
858aea023d - rewrite sqlite3 table_exists() to avoid error in PHP 8 2021-06-27 15:44:21 +03:00
Max Pozdeev
6983fa1b72 * invalidate opcache while saving config file 2021-06-27 15:28:28 +03:00
Max Pozdeev
ae22d091bf move mtt.js options to php js_options() 2021-04-21 15:03:26 +03:00
Max Pozdeev
85e03c42f1 * do not allow to drag the task by its note 2021-04-21 14:53:32 +03:00
Max Pozdeev
5a89c7ee9f * do not allow to drag the task by its note 2021-04-21 14:35:38 +03:00
Max Pozdeev
ae8cc12e2f
Merge branch 'master' into v1.6.x 2021-04-19 20:55:01 +03:00
Max Pozdeev
924a2147ff * do not use stop_gpc() for compatibility with PHP 8 2021-04-19 20:12:24 +03:00
Max Pozdeev
f035fa3464 * do not allow urls and any html elements in task title (escape all); format the note in php (not js) using mttMarkup_v1 2020-10-21 23:47:32 +03:00
Max Pozdeev
f427323e61 * close menus on Escape key 2020-10-20 22:55:47 +03:00
Max Pozdeev
f99610b9f2 - minimize overflow issues with submenu elements 2020-10-20 22:38:23 +03:00
Max Pozdeev
42c8f250cc - fix of adjustWidth option in mttMenu 2020-10-20 22:08:28 +03:00
Max Pozdeev
62fa23fda4 show 'Hide list' menu item for 'All tasks' tab 2020-10-20 21:43:10 +03:00
Max Pozdeev
57b8666bd2 * move 'All tasks' tab to the left (to be the first tab) 2020-10-20 21:33:36 +03:00
Max Pozdeev
20bd4cd822 * start to make responsive (600px breakpoint); remove singletab commands; remove urls to mobile and desktop themes 2020-10-19 23:48:19 +03:00
Max Pozdeev
b76b370d1c remove auto-detect of mobile theme 2020-10-19 22:58:37 +03:00
Max Pozdeev
f6be2714d9 + add list menu item "Hide list" 2020-10-19 16:37:13 +03:00
Max Pozdeev
d100b60e9d + show placeholder while tab grabbing 2020-10-19 15:44:50 +03:00
Max Pozdeev
78b02537f8 apply editorconfig (line endings and final empty line) 2020-10-14 21:20:44 +03:00
Max Pozdeev
1e4aedb5c7 - minimize overflow issues with menu elements in mobile theme 2020-10-13 23:30:46 +03:00
Max Pozdeev
41df373898 * disable "edit note" task menu item 2020-10-08 00:24:49 +03:00
Max Pozdeev
b39782a246 - fix urls for rss and export in ie8 theme 2020-10-05 18:16:20 +03:00
Max Pozdeev
6450438868 * fix the sorting by drag-n-drop in mobile theme 2020-09-29 14:36:14 +03:00
Max Pozdeev
85fb8dea69 * auto-switch to mobile version is enabled by default 2020-09-26 23:57:10 +03:00
Max Pozdeev
5f022b2674 fix for prev commit 2020-09-25 12:36:04 +03:00
Max Pozdeev
15fb7f86b0 dont die if language file not found 2020-09-24 19:21:13 +03:00
Max Pozdeev
ac0d635ec1 make run() to parse anchor 2020-09-24 17:28:14 +03:00
Max Pozdeev
d8a341cd52 rest of tests + readability 2020-09-24 11:17:47 +03:00
Max Pozdeev
d3acbb4b7e * FL: delete task with highlight effect; add outline color to controls; highlight task when task context menu is shown 2020-09-22 23:51:35 +03:00
Max Pozdeev
f8c48dc0ba add index.html to forbid the index 2020-09-22 21:47:58 +03:00
Max Pozdeev
791b7570a1 * Bugfix: month was not translated in datepicker 2020-09-21 22:40:42 +03:00
Max Pozdeev
6389f3a863 * Now shows list name in print style 2020-09-21 22:06:53 +03:00
Max Pozdeev
4758d0c1a1 * can cancel tag filter by clicking on tag (not only close button) 2020-09-21 12:25:34 +03:00
Max Pozdeev
951ebf4d07 more fixes to RTL; add support in mttMenu 2020-09-20 22:43:37 +03:00
Max Pozdeev
5143692b43 add RTL to calendar 2020-09-20 18:47:37 +03:00
Max Pozdeev
83ac15e582 Move langs to /content/lang/ folder 2020-09-18 23:02:45 +03:00
Max Pozdeev
d388c48cb3 little fixes for theme support 2020-09-17 18:51:29 +03:00
Max Pozdeev
a92ae4d74b Correct title for tab with all tasks 2020-09-16 22:06:06 +03:00
Max Pozdeev
9ff6e86e3d replace float in task; update 2 task icons 2020-09-16 17:14:52 +03:00
Max Pozdeev
7022121c43 fix js for IE11 compatibility 2020-09-14 23:25:22 +03:00
Max Pozdeev
3529269f36 replace css float with flex in top block 2020-09-13 22:48:35 +03:00
Max Pozdeev
27220c974d use .urlForList() 2020-09-13 16:32:55 +03:00
Max Pozdeev
56e78b451c use 'a href' for a list feed and exports instead of location.href 2020-09-12 20:50:29 +03:00
Max Pozdeev
734c407917 little more security for config values 2020-09-12 17:02:15 +03:00
Max Pozdeev
dbfa448576 * add basic auto-detection of mobile devices (disabled yet) 2020-09-12 16:17:43 +03:00
Max Pozdeev
3caf17be9d basic handling of unknown list in history 2020-09-12 00:05:36 +03:00
Max Pozdeev
d637240272 * use browser history while tab switching 2020-09-11 18:29:15 +03:00
Max Pozdeev
c7c8572148 js: remove loadListsAtStart() 2020-09-11 15:22:53 +03:00
Max Pozdeev
d99c85c4eb move some properties to init() in mtt js 2020-09-08 14:15:05 +03:00
Max Pozdeev
5d579d3ada * can disable instant search in mtt js 2020-09-07 21:39:39 +03:00
Max Pozdeev
fcccd1428a * enable strict mode in mtt.js 2020-09-05 16:39:31 +03:00
Max Pozdeev
207ccd824d put js confirm() and prompt() into wrapper with callbacks 2020-09-05 16:33:12 +03:00
Max Pozdeev
abab919953 move jquery to includes folder 2020-09-04 15:19:49 +03:00
Max Pozdeev
750d74f797 Fix newlines in language files 2020-09-04 15:11:32 +03:00
Max Pozdeev
24385cd3b2 move js to includes folder 2020-09-04 15:01:10 +03:00
Max Pozdeev
47758f08c2 move common.php to includes folder 2020-09-04 14:45:24 +03:00
Max Pozdeev
3719405bd7 move db classes to includes folder 2020-09-04 14:42:07 +03:00
Max Pozdeev
b27a957c00 convert all language files in repo to json 2020-09-04 14:36:41 +03:00
Max Pozdeev
827fc92609 * Use language files in json format, in new folder 2020-09-04 14:26:28 +03:00