Commit graph

95 commits

Author SHA1 Message Date
maxpozdeev
18f9c0309f move http api classes to separate file 2022-09-06 15:45:00 +03:00
maxpozdeev
b226c00e42 implement special notification didFinishRequest (useful for some post-processing in php-fpm) 2022-09-05 22:28:59 +03:00
maxpozdeev
f31c173db4 add internal notifications for taskCreated and listCreated (experimental) 2022-08-29 23:26:05 +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
929b506789 check db exists in homepage 2022-07-12 11:26:12 +03:00
maxpozdeev
520b0b7326 move js files from includes to content 2022-07-10 18:07:54 +03:00
maxpozdeev
a96fa6405e fix path in .editorconfig and remove unused constants (fix for ffa6bc0) 2022-07-10 18:01:50 +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
490b64c2b3 * change HTTP API 2022-07-10 15:23:53 +03:00
Max Pozdeev
a269392d48 PHP 7.2 - minimal required version 2022-04-15 21:31:47 +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
ce01ca5bea more fixes for csrf token checking 2022-02-10 00:41:28 +03:00
Max Pozdeev
28439ec79c generate csrf token before login (fix for 454ed89) 2022-02-09 22:38:13 +03:00
Max Pozdeev
263e65ae53 rename mysqli api class 2022-02-08 21:06:50 +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
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
fe6164bf7d fix session handling broken in 1b3d232 2022-02-06 14:24:02 +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
efedefdae5 use new config file for database connection, setup is updated to support it 2022-01-31 21:49:26 +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
1b3d232dbe * add samesite=lax flag for session cookie
(cherry picked from commit ea2ace9066)
2022-01-12 02:16:19 +03:00
Max Pozdeev
37f83a9ce7 * rename die2() to logAndDie()
(cherry picked from commit 61bdead019)
2022-01-12 01:44:22 +03:00
Max Pozdeev
d67571fcb3 - use token header from $_SERVER; fixed errors with auth token headers occured on some software configurations
(cherry picked from commit 5b3dd0d0fc)
2022-01-12 01:31:18 +03:00
Max Pozdeev
f23ca43eea * use simple token in settings
(cherry picked from commit 866c34e2e0)
2022-01-12 01:31:18 +03:00
Max Pozdeev
9f78149fe1 * use simple token header for ajax request for safety 2022-01-12 01:30:33 +03:00
Max Pozdeev
4e79da6caf * increase session cookie lifetime 2022-01-12 00:49:16 +03:00
Max Pozdeev
5248a9bc33 * fix incorrect title in browser history in some cases 2022-01-12 00:37:55 +03:00
Max Pozdeev
73ab4ac10f * use database table for session handling 2021-07-29 16:52:44 +03:00
Max Pozdeev
39c9d1608d * use utf8mb4 charset in mysql database 2021-07-28 18:50:23 +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
145b58f7cf require PHP 7.0+ 2021-07-26 21:57:30 +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
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
dafd4d81a6 require php 5.6 2021-07-24 18:27:23 +03:00
Max Pozdeev
62e1dc0c96 * changes in error logging: show only in debug mode 2021-07-24 18:16:16 +03:00
Max Pozdeev
ae22d091bf move mtt.js options to php js_options() 2021-04-21 15:03:26 +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
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