Commit graph

627 commits

Author SHA1 Message Date
Max Pozdeev
858aea023d - rewrite sqlite3 table_exists() to avoid error in PHP 8 2021-06-27 15:44:21 +03:00
Max Pozdeev
a2af3e7f77 Check if mysql extension is available while mysql setup 2021-06-27 15:39:53 +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
8ad3362693 polish css structures 2021-04-20 17:37:17 +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
afc95dba32 + added rss feed of task changes (New/Updated/Completed) 2020-10-22 20:39:28 +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
8760404245 * change smart syntax (ex: +1 Task #tag1 #tag2) 2020-10-21 15:06:24 +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
003e1eadb9 continue make responsive (set font-size 16px on small screens) 2020-10-20 18:06:22 +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
fe2685635f remove ie8 theme 2020-10-19 22:53:09 +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
9133e87d91 fix font-family (issue in firefox) 2020-10-06 21:22:05 +03:00
Max Pozdeev
5608bb9ce8 - ui fixes: footer in mobile theme; top bar height in firefox while loading; task icons layout in old opera 2020-10-06 18:20:51 +03:00
Max Pozdeev
1a7aaae416 create optional start page for ie8 theme 2020-10-05 18:17:56 +03:00
Max Pozdeev
b39782a246 - fix urls for rss and export in ie8 theme 2020-10-05 18:16:20 +03:00
Max Pozdeev
045f63dddf add copyright for jquery-ui-touch-punch 2020-10-03 22:17:12 +03:00
Max Pozdeev
1bbde052ae - auto-switch to mobile theme was off in bundled config 2020-10-03 21:28:32 +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
6450438868 * fix the sorting by drag-n-drop in mobile theme 2020-09-29 14:36:14 +03:00
Max Pozdeev
bb91c34f15 * add print style to mobile theme 2020-09-28 21:50:44 +03:00
Max Pozdeev
94921e33fc * rotate icon of select list button in rtl style 2020-09-28 12:09:29 +03:00
Max Pozdeev
827b921f0b add arabic translation 2020-09-28 11:17:31 +03:00
Max Pozdeev
938ec7bc36 * disable autocomplete for task title while edit or create a task 2020-09-28 11:16:11 +03:00
Max Pozdeev
a94f3034d1 - Bugfix: builder can not set version 2020-09-27 18:38:33 +03:00
Max Pozdeev
85fb8dea69 * auto-switch to mobile version is enabled by default 2020-09-26 23:57:10 +03:00
Max Pozdeev
b8d1a23205 replace 2 icons for "select list" and "task actions" and little more 2020-09-26 18:45:20 +03:00
Max Pozdeev
81aeb6b3cf add outline animation 2020-09-26 17:23:41 +03:00
Max Pozdeev
001948d530 fixed: inline date was not shown 2020-09-26 16:48:34 +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
fe2485525d * some fonts were increased; redraw newtask icon 2020-09-21 21:03:04 +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
2ea33b5854 rtl fixes 2020-09-21 11:27:38 +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
230bf87bab more RTL fixes in css 2020-09-20 18:29:31 +03:00
Max Pozdeev
5180400640 replace float with flex in tasks h3 2020-09-20 17:59:39 +03:00
Max Pozdeev
c44d7bcd44 fix style for RTL languages 2020-09-20 17:20:34 +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
658ec2fbc6 move DefaultLang class to mytinytodo_lang.php in the root; remove folder /lang/ 2020-09-18 22:06:10 +03:00
Max Pozdeev
4566110e95 fix tag filter in ie8 theme 2020-09-18 17:29:03 +03:00
Max Pozdeev
723788d19e * add ie8 theme based on the old default theme from v1.5 2020-09-17 21:10:20 +03:00
Max Pozdeev
d388c48cb3 little fixes for theme support 2020-09-17 18:51:29 +03:00
Max Pozdeev
c63434f468 fixes for IE; update task-menu icon 2020-09-17 10:41:27 +03:00
Max Pozdeev
79f412a983 fix link in menu 2020-09-16 22:08:07 +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
e199c7b6f9 fix the size of images for svg viewbox 2020-09-14 22:43:15 +03:00
Max Pozdeev
a36834d62f replace float in tabs 2020-09-14 22:38:17 +03:00
Max Pozdeev
8b45cae0ad replace float in #toolbar 2020-09-14 20:32:26 +03:00
Max Pozdeev
2519d6e54d replace float in footer 2020-09-14 15:11:43 +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
a35c71ed04 * add more space to menu 2020-09-11 22:29:52 +03:00
Max Pozdeev
82689265f6 use viewBox in svg images 2020-09-11 18:44:47 +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
5608d46e6c * 'list' query param redirect to hash route 2020-09-10 12:23:16 +03:00
Max Pozdeev
1a6a480f15 fix footer in print.css 2020-09-08 14:55:37 +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
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
17abe4af93 + Can search task by id using syntax #id 2020-09-07 20:55:16 +03:00
Max Pozdeev
4757842448 * List name can have @ and # symbols - revert partially [e34b90f] 2020-09-05 17:07:39 +03:00
Max Pozdeev
c27c487017 * Tag name can not have # symbol 2020-09-05 16:59: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
7123cab29f update COPYRIGHT 2020-09-04 15:47:25 +03:00
Max Pozdeev
7c72aa8b5d rename pda.css to mobile.css; updated mobile_url 2020-09-04 15:26:51 +03:00
Max Pozdeev
abab919953 move jquery to includes folder 2020-09-04 15:19:49 +03:00
Max Pozdeev
1e70710be7 Do not use mytinytodo_lang.php in theme 2020-09-04 15:15:56 +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
756e4839db suppress warning if /lang/ folder does not exists 2020-09-04 14:50:09 +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
Max Pozdeev
a5cc36ea64 mobile theme can be loaded with ?mobile parameter as well 2020-09-02 16:52:25 +03:00
Max Pozdeev
e34b90fe33 * Newly created list shows completed tasks; List name can not have @ and # symbols 2020-08-29 12:35:07 +03:00
Max Pozdeev
48778729d3 * FL: update inline add task icon 2020-08-28 23:42:05 +03:00
Max Pozdeev
08306acd8d * click with Cmd and Ctrl on tag in tagcloud will exclude the tag (like in tasklist) 2020-08-28 17:43:46 +03:00
Max Pozdeev
73668d7a7e * Facelifting: move tag filters upper in toolbar, and redesigned 2020-08-28 17:40:44 +03:00
Max Pozdeev
88d040eab4 Facelifting: change width to 1000px 2020-08-27 21:03:01 +03:00
Max Pozdeev
36fee462df - Bugfix: filter by multiple tags shows completed taks when list settings was off 2020-08-26 22:37:03 +03:00
Max Pozdeev
fa4875d2d7 * migrate to jQuery 3.5.1 2020-08-26 20:34:03 +03:00
Max Pozdeev
ab2d10da45 * migrate jQuery to v.12.4 2020-08-25 22:24:39 +03:00
Max Pozdeev
973bfa9eed fix for prev commit 2020-08-25 21:44:13 +03:00
Max Pozdeev
92bbc9bb58 * Facelifting: added css transitions, icon color by opacity, use rem units 2020-08-25 18:52:02 +03:00
Max Pozdeev
6c4898b923 experiments: avoid opcode cache 2020-08-24 20:25:28 +03:00
Max Pozdeev
9b6437924d * show full year in short date format unless 21st century 2020-08-24 20:24:11 +03:00
Max Pozdeev
d8cfe5e319 use css transform for .task-toggle arrow 2020-08-24 00:11:47 +03:00
Max Pozdeev
bc248bd6af UI little fixes 2020-08-24 00:03:29 +03:00
Max Pozdeev
d1f34cc6eb * use full year in duedate field 2020-08-23 22:46:00 +03:00
Max Pozdeev
babe849346 .duedate-arrow removed, arrow is set with .duedate:before content 2020-08-23 12:13:10 +03:00
Max Pozdeev
07271cf645 tags autocomplete moved to db storage 2020-08-22 18:59:10 +03:00
Max Pozdeev
82d6d660bb use autocomplete plugin from jQuery UI 2020-08-22 18:43:04 +03:00
Max Pozdeev
1d71b923f4 move calendar icon path to template js init 2020-08-21 16:58:26 +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
700b87aa99 * update jQuery to v1.8.3, jQuery UI to v1.12.1 to fix possible UI issues 2020-08-19 17:56:04 +03:00
Max Pozdeev
27307633c0 * add links to desktop and mobile versions to footer 2020-08-19 10:42:31 +03:00
Max Pozdeev
1808267267 - bugfix: fixed incorrect view of selected tab in unauthorized mode 2020-08-19 10:12:27 +03:00
Max Pozdeev
ec6e58180e added copyright for new images 2020-08-18 22:02:43 +03:00
Max Pozdeev
e83feb585d fresh icon for new tab 2020-08-18 22:00:41 +03:00
Max Pozdeev
f850bd6ca2 - bugfix: auth form size on windows was too small 2020-08-18 21:42:57 +03:00
Max Pozdeev
2b3c150138 * update preloader icon 2020-08-18 20:49:41 +03:00
Max Pozdeev
ba8983df8e - Bugfix: need to swap implode() parameters due to PHP 7.4 deprecation (one more line) 2020-08-18 19:29:11 +03:00
Max Pozdeev
293f120426 * Facelifting: replace png and gif icons with svg 2020-08-18 19:25:46 +03:00
Max Pozdeev
3d4a21f83f * Facelifting: unbold tab title 2020-08-14 16:11:11 +03:00
Max Pozdeev
69e0f42223 * Facelifting: repalce rounded corners images of tabs with css border-radius (patch by Yury Zezegov - bitbucket.org/yuryzezegov) 2020-08-14 14:36:47 +03:00
Max Pozdeev
e77cf69185 - Bugfix: need to swap implode() parameters due to PHP 7.4 deprecation 2020-08-14 12:18:57 +03:00
Max Pozdeev
08d673f8ae Update icons to SVG: calendar 2020-08-14 12:10:02 +03:00
Max Pozdeev
4897b6c47b * Facelifting. The begining 2020-08-14 10:58:56 +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
c859e1db31 - escape formulas in CSV export (fix) 2019-06-29 20:19:40 +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
d29e82a543 log errors in exception handler 2019-06-29 18:51:33 +03:00
Max Pozdeev
f836683a9c more info on sqlite query error 2019-06-29 18:47:06 +03:00
Max Pozdeev
dca80918e2 formatting fixed 2019-06-29 18:16:21 +03:00
Max Pozdeev
242d95d384
Merge pull request #1 from nmcgann/change-mysqli
Convert mysql_ function calls to mysqli_ procedural routines.
2019-06-29 18:06:03 +03:00
Max Pozdeev
8c67075b8c - escape formulas in CSV export 2019-06-29 17:08:41 +03:00
Max Pozdeev
71d989ab47 * use semicolons instead of commas as separator and add BOM in CSV export 2019-06-29 17:05:18 +03:00
Neil McGann
78b2e6b91e Convert mysql_ function calls to mysqli_ procedural routines. 2014-11-18 10:11:42 +00: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
d93e216088 * catch exception in exception handler :) 2011-05-30 18:45:35 +04:00
Max Pozdeev
b77ff34a1b * language settings for demo 2011-05-30 18:44:56 +04:00
Max Pozdeev
9c613012b9 * 'tagcloud' string added 2011-03-21 12:46:10 +03:00
Max Pozdeev
538ad0f135 - bugfix: can not change password in Opera 2011-03-20 11:34:06 +03:00
Max Pozdeev
0a9955d2a4 * charset header for lang js 2011-03-03 17:18:13 +03:00
Max Pozdeev
a3dd5e36ec * always print content-type header with correct charset to override webserver defaults 2011-03-02 15:40:29 +03:00
Max Pozdeev
fea919b7cd fix in russian translation 2011-03-02 15:15:16 +03:00
Max Pozdeev
31ab4d54da * disable priority popup in pda style 2011-02-14 10:18:30 +03:00
Max Pozdeev
ee7a80de54 - bugfix: Error while filtering by 2 tags or more in mysql version (thanks to Горан Трајковић) 2011-02-10 16:52:52 +03:00
Max Pozdeev
5d04caa646 French translation updated (by liryk) 2011-01-29 22:05:08 +03:00
Max Pozdeev
1a37cb840b German translation updated (by Pascal) 2011-01-29 22:04:39 +03:00
Max Pozdeev
44dd8649ed Spanish translation updated (by Antonio Garcia Marin) 2011-01-28 00:09:14 +03:00
Max Pozdeev
f1f3a8f3dc versions of ru and en translations fixed 2011-01-25 00:36:43 +03:00
Max Pozdeev
9adcadab67 + ability to open all task tab on page load using "list=-1" query string parameter or "#alltasks" or "#list/-1" 2011-01-23 20:11:10 +03:00
Max Pozdeev
627c6661da - bugfix: show all tags not working in task add form if the form was opened for the first time 2011-01-21 23:07:30 +03:00
Max Pozdeev
f2aa838179 + ability to use feed of current tasks (without completed);
+ added date of task completion to feed
2011-01-20 18:43:06 +03:00
Max Pozdeev
4960c0467d - fix fo prev commit (not worked in webkit) 2011-01-18 09:52:58 +03:00
Max Pozdeev
9a6fa69020 + need to confirm page close if task was edited and not saved 2011-01-15 23:47:31 +03:00
Max Pozdeev
fce44e85f9 * tagPreviewDelay in options 2011-01-12 13:49:13 +03:00
Max Pozdeev
decbffe22a * Russian translation updated to v1.4b3 2011-01-09 00:55:00 +03:00
Max Pozdeev
be19bad8bd * en translation updated 2011-01-09 00:54:22 +03:00
Max Pozdeev
8f6f265509 - bugfix: incorrect selectbox value for custom short date format in settings 2011-01-08 14:45:44 +03:00
Max Pozdeev
708cda0bf5 - one more var to translation (Custom) 2011-01-08 13:41:00 +03:00
Max Pozdeev
5074e77861 + export to iCalendar menu item (via submenu) 2011-01-07 22:25:08 +03:00
Max Pozdeev
9a6d274e6c + ability to export ot iCalendar 2011-01-07 14:32:04 +03:00
Max Pozdeev
7017ac8b9d - bugfix: sunday was always the first day of week in duedate calendar 2011-01-07 14:23:49 +03:00
Max Pozdeev
4287972852 - remove unnecessary js file in default theme 2011-01-06 22:29:56 +03:00
Max Pozdeev
d85d546ed1 - bugfix: possible 'table is locked' sqlite error while setup 2011-01-06 22:25:22 +03:00
Max Pozdeev
7f27d206ba - correct datetime according to timezone in CSV export 2011-01-02 17:38:20 +03:00
Max Pozdeev
7fe332b2b2 * default lang file sync 2010-12-31 18:39:40 +03:00
Max Pozdeev
af49db8903 images copyright in main file was fixed 2010-12-31 18:28:44 +03:00
Max Pozdeev
9804ce4f2d + can hide tab with Ctrl+click 2010-12-30 01:14:44 +03:00
Max Pozdeev
e4fe2074e1 Slovak translation added (by Ľubomír Molent) 2010-12-29 13:16:53 +03:00
Max Pozdeev
c556ae7ffe Japanese translation added (by Calltella) 2010-12-29 13:16:19 +03:00
Max Pozdeev
28a9a424f2 - fixed add task input was visible for readonly user 2010-12-26 16:44:46 +03:00
Max Pozdeev
5d8a8e90b3 * do not add task with listId=0 2010-12-26 14:57:03 +03:00
Max Pozdeev
b8e27503a9 + tab menu for all tasks tab 2010-12-26 14:56:28 +03:00
Max Pozdeev
cf22e6d092 * fixed incorrect tag autocomplete and tag select in all tasks tab 2010-12-15 23:05:27 +03:00
Max Pozdeev
bcdf5e9eab * fixed moving a task to other list in all tasks tab 2010-12-15 22:37:29 +03:00
Max Pozdeev
a03359a54f * fix of checks disabled on merge with 1.4 2010-12-15 22:05:08 +03:00
Max Pozdeev
3e0e78efc0 * task edit internal fix (getting listId) for better security 2010-12-15 20:39:09 +03:00
Max Pozdeev
9c4aa1403c * jquery ui changed to v1.8.7 2010-12-15 18:05:44 +03:00
Max Pozdeev
7bdcf7b001 * do not show tagcloud button for all tasks tab 2010-12-15 17:48:20 +03:00
Max Pozdeev
65e5ffbdf5 * en lang file version changed to 1.4 2010-12-15 17:27:22 +03:00