Commit graph

70 commits

Author SHA1 Message Date
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
Max Pozdeev
b39782a246 - fix urls for rss and export in ie8 theme 2020-10-05 18:16:20 +03:00
Max Pozdeev
a61679200d - remove unnecessary error_log() 2020-09-30 22:37:35 +03:00
Max Pozdeev
d778971aa7 * do not use server port while MTT Url detection 2020-09-30 21:24:28 +03:00
Max Pozdeev
a94f3034d1 - Bugfix: builder can not set version 2020-09-27 18:38:33 +03:00
Max Pozdeev
15fb7f86b0 dont die if language file not found 2020-09-24 19:21:13 +03:00
Max Pozdeev
17b271b88e * can override language with 'lang' cookie or query param 2020-09-20 16:46:07 +03:00
Max Pozdeev
580640e412 move themes to /content/themes/ folder 2020-09-18 23:10:39 +03:00
Max Pozdeev
83ac15e582 Move langs to /content/lang/ folder 2020-09-18 23:02:45 +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
4929663437 remove unnecessary need_auth() 2020-09-08 14:50:06 +03:00
Max Pozdeev
bd698949a5 replace global var $needAuth with function need_auth() 2020-09-08 14:37:29 +03:00
Max Pozdeev
7c72aa8b5d rename pda.css to mobile.css; updated mobile_url 2020-09-04 15:26:51 +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
827fc92609 * Use language files in json format, in new folder 2020-09-04 14:26:28 +03:00
Max Pozdeev
30c9cca2d4 * little fixes in mobile UI 2020-08-21 15:58:10 +03:00
Max Pozdeev
e446d16f26 use @VERSION for dev no-caching 2020-08-19 21:24:25 +03:00
Max Pozdeev
27307633c0 * add links to desktop and mobile versions to footer 2020-08-19 10:42:31 +03:00
Max Pozdeev
6a92bc43cc - Fix malfunction due to deprecated gpc notice in PHP 7.4 (mtt now requires php 5.4+) 2020-08-13 21:41:44 +03:00
Max Pozdeev
8085658e53 little changes in error logging 2019-06-29 19:05:48 +03:00
Max Pozdeev
e1b21839b2 - bugfix: mysql password was displayed in stack trace when connect failed 2019-06-29 19:01:40 +03:00
Max Pozdeev
181a52e843 Code license changed to GNU GPL v2+. Version changed to 1.4.3 2014-01-28 16:38:06 +04:00
Max Pozdeev
b77ff34a1b * language settings for demo 2011-05-30 18:44:56 +04:00