Commit graph

211 commits

Author SHA1 Message Date
maxpozdeev
46de0c09de * implement feed key to allow to get an export or rss of password-protected lists (just add &key=YOUR_KEY to the url) 2022-08-11 17:59:57 +03:00
maxpozdeev
4d481d6013 declare strict types in markup scripts 2022-08-08 01:21:58 +03:00
maxpozdeev
0e30339615 remove unused debug code 2022-08-08 01:12:43 +03:00
maxpozdeev
f7d590383f * can save setting of alltasks list to show or not completed tasks 2022-08-01 22:16:01 +03:00
maxpozdeev
9f918c0663 * change of list sorting is produced on backend with tasklist reload 2022-08-01 21:57:10 +03:00
maxpozdeev
8e90422ac8 * show 'date edited' inline in tasklist instead of 'date created' if sorting is selected 'by date modified' (and in task edit form if not completed) 2022-08-01 18:22:30 +03:00
maxpozdeev
8fd6950d18 Little fix of description text in settings 2022-08-01 13:04:24 +03:00
maxpozdeev
fb6a51cc92 * changes in translation file: added 'months_calendar' array for duedate picker - full names of months like 'months_long' in previous versions; 'months_long' - now used only for date formatting, month names can be in regional form. 2022-08-01 12:48:58 +03:00
maxpozdeev
485bef2c94 ** Show inline task date in second line 2022-08-01 12:31:44 +03:00
maxpozdeev
67ccee18c5 avoid PHP 8.2 notices 2022-07-31 14:50:39 +03:00
maxpozdeev
5adf485f68 rename html id #mtt_body to #mtt 2022-07-27 14:50:35 +03:00
maxpozdeev
2f2c6f2b79 Update translation: French (fr) by plabuse (closes GH-23) 2022-07-27 13:26:16 +03:00
maxpozdeev
7bb60e2dc9 Update translation: German (de) by Franky (closes GH-11) 2022-07-27 13:22:39 +03:00
maxpozdeev
3658a62db7 Update translation Chinese Simplified (cns) by wangyouworld (closes GH-6) 2022-07-27 13:17:20 +03:00
maxpozdeev
7d12b4a21f * turn off menu action for inline note editor 2022-07-24 23:15:16 +03:00
maxpozdeev
14e4fe66c9 add wrapper for CommonMark (php 7.4 is required) 2022-07-24 13:10:23 +03:00
maxpozdeev
9b56deb459 * use composer for Parsedown (run <composer or ./composer.sh> install --no-dev in the repo root) 2022-07-24 12:42:47 +03:00
maxpozdeev
b3c101cd10 use markdown class and interface for easy connection of other md libs 2022-07-24 12:08:31 +03:00
maxpozdeev
6aa68d63b0 rename some classes in mtt-tabs 2022-07-12 21:36:39 +03:00
maxpozdeev
929b506789 check db exists in homepage 2022-07-12 11:26:12 +03:00
maxpozdeev
522010e34e add appearance to settings 2022-07-11 00:52:50 +03:00
maxpozdeev
dc155f000e set favicon (GH-10) 2022-07-10 19:21:36 +03:00
maxpozdeev
42f9bf622e remove unused config var (fix for ffa6bc0) 2022-07-10 18:11:37 +03:00
maxpozdeev
520b0b7326 move js files from includes to content 2022-07-10 18:07:54 +03:00
maxpozdeev
153536d6d4 move lang directory from content to includes 2022-07-10 17:57:36 +03:00
maxpozdeev
ffa6bc0740 move theme files to content/theme/ and includes/theme.php 2022-07-10 16:08:07 +03:00
maxpozdeev
000b9f6eac use spaces for indentation in js files 2022-07-10 15:50:05 +03:00
maxpozdeev
6f60e75c45 replace tabs with spaces in php files 2022-07-10 15:35:19 +03:00
maxpozdeev
490b64c2b3 * change HTTP API 2022-07-10 15:23:53 +03:00
Max Pozdeev
c298ab101f Update jQuery UI Touch Punch to v1.0.8 by RWAP (with delay implemented in 1e62548 v1.6.10) 2022-05-03 21:09:34 +03:00
Max Pozdeev
95ce873f73 Update jQuery UI to v1.13.1 2022-05-02 23:04:48 +03:00
Max Pozdeev
82318c6df0 prevent possible errors if language files are broken 2022-04-15 21:29:59 +03:00
Max Pozdeev
2dc8a2213f prevent possible errors if settings are saved as invalid JSON 2022-04-15 20:13:29 +03:00
Max Pozdeev
ff10c473e0 * authentication form in not popup anymore 2022-02-22 23:38:32 +03:00
Max Pozdeev
fcf28501e7 fix incorrect tab html of newly created list (broken in 57bd711) 2022-02-21 18:37:32 +03:00
Max Pozdeev
5b4253d6f0 * dont restrict some chracters in tag names (/\<'>&") 2022-02-17 20:13:41 +03:00
Max Pozdeev
4a41ad0467 + add dark mode css, enabled if system appearance is dark 2022-02-16 23:04:02 +03:00
Max Pozdeev
57bd7116c1 * use SVG icons as CSS masks to draw action buttons 2022-02-12 23:09:27 +03:00
Max Pozdeev
ce01ca5bea more fixes for csrf token checking 2022-02-10 00:41:28 +03:00
Max Pozdeev
263e65ae53 rename mysqli api class 2022-02-08 21:06:50 +03:00
Max Pozdeev
8eba530687 call setTaskPriority with POST method 2022-02-07 23:51:38 +03:00
Max Pozdeev
17921defa9 update ajax response caching 2022-02-07 23:41:01 +03:00
Max Pozdeev
c937596d43 remove trailing ?> in the end of php files 2022-02-07 19:16:07 +03:00
Max Pozdeev
05b49d30d8 do not use version.txt and @VERSION 2022-02-07 19:08:41 +03:00
Max Pozdeev
c325eea23a make $db->prefix readonly 2022-02-07 18:22:59 +03:00
Max Pozdeev
7a5fab82ca rename 2 functions 2022-02-07 09:57:03 +03:00
Max Pozdeev
acfb316e9a convert indention to spaces in php files 2022-02-06 23:37:02 +03:00
Max Pozdeev
c209486c5a * Authenticated session becomes invalid if password or salt are changed 2022-02-06 14:52:39 +03:00
Max Pozdeev
c4cab440ac edit final link to homepage while setup 2022-02-06 14:15:21 +03:00
Max Pozdeev
553a66651c + Password is stored as hash 2022-02-06 14:08:15 +03:00
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