Commit graph

312 commits

Author SHA1 Message Date
Martin Filser
3b65113d05 Move every Cards.findOne() to the ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
a182482cfb Move every Boards.findOne(boardId) to the ReactiveCache (Part 2) 2023-07-18 21:25:28 +02:00
Martin Filser
9022e9949f Move every Boards.findOne(Session.get('currentBoard')) to the ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
b7dbeba7de add currentSetting to ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
c6ee58ef88 add "currentList" to ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
3f3b4746a9 adding ReactiveCache to other source code 2023-07-18 21:25:28 +02:00
Martin Filser
30d154724a currentBoard is very often called in jade files, so use there the cache too 2023-07-18 21:25:27 +02:00
Martin Filser
16130b3f73 Move ReactiveCache to imports
- so it's available for the Server too
2023-07-18 21:25:27 +02:00
Martin Filser
47427f89b0 Adding new ReactiveCache 2023-07-18 21:25:27 +02:00
Lauri Ojansivu
549b15000b Set background color only if it exists. Part 3.
Thanks to xet7 !
2023-06-29 00:31:44 +03:00
Lauri Ojansivu
c6cad13f1e Set background color only if it exists. Part 2.
Thanks to xet7 !
2023-06-29 00:22:25 +03:00
Lauri Ojansivu
45d33fa2e4 Set background color only if it exists.
Thanks to xet7 !
2023-06-29 00:03:00 +03:00
Martin Filser
583f114c68 Utils of canModifyCard and canModifyBoard + move this general functions to Utils class 2023-06-28 22:21:36 +02:00
Martin Filser
a7721b9048 Global search, found cards count is now substituted by the translation function itself 2023-06-28 22:08:58 +02:00
Martin Filser
8557d91468 new popup scrolls to top and restore it's previous position after closing again works now at attachments too 2023-06-25 10:44:20 +02:00
Martin Filser
949a3a1337 new popup scrolls to top and restore it's previous position after closing again 2023-06-25 10:44:20 +02:00
Martin Filser
b869e3efb6 after moving, e.g. minicards, to the list start / end the index is rounded to the next index 2023-06-21 23:16:55 +02:00
Martin Filser
7e8073d621 after moving, e.g. the minicard, round the index to the next integer
- before: at index -1           and -9 the new index was -5
- now   : at index -1 (or -1.1) and -9 the new index is  -2
2023-06-21 23:16:55 +02:00
Martin Filser
c10f7b6134 Utils#calculateIndex re-uses the logic of Utils#calculateIndexData
- nearly the same implementation, so use common code base
2023-06-21 23:16:55 +02:00
simon816
c39403c307 Wait until user has logged in before fetching language preference. Fixes #4967 2023-06-18 00:58:16 +01:00
Lauri Ojansivu
af63259f09 Fixed drag-drop at Ubuntu Touch Morph Browser and WeKan OpenStore app by changing jquery-ui-touch-punch to newer updated @rwap/jquery-ui-touch-punch.
Thanks to xet7 !
2023-06-10 02:59:35 +03:00
helioguardabaxo
946c288925 Fix due date filter for next and this week. 2023-06-08 12:43:26 -03:00
Lauri Ojansivu
04aaa6f30c Fix 6.93 with brackground image breaks scrolling on lists within swimlanes.
Thanks to xet7 !

Fixes #4936
2023-06-03 20:38:03 -04:00
Lauri Ojansivu
01a1eb177e Set card attachment as background image. Part 3.
Thanks to xet7 !

Related #486
2023-06-03 17:27:00 -04:00
Lauri Ojansivu
ed92db87bc Set card attachment as background image. Part 2.
Thanks to xet7 !

Related #486
2023-06-03 12:43:10 -04:00
Lauri Ojansivu
49ef80ab6c BoardAdmin and Admin can now set board background image URL.
Thanks to xet7 !

Related #486
2023-05-27 03:10:41 -04:00
Lauri Ojansivu
9af03b0416 Fixed count of found cards in Global Search.
Thanks to xet7 !
2023-04-18 00:21:34 +03:00
helioguardabaxo
70de2d48be Added 'next week' due date filter 2023-04-10 20:54:22 -03:00
Lauri Ojansivu
6a4e17e039 Revert set miniscreen to 250px.
Thanks to zlobcek, mfilser and xet7 !

Related https://github.com/wekan/wekan/discussions/4753,
related https://github.com/wekan/wekan/pull/4649
2022-11-21 23:29:44 +02:00
Lauri Ojansivu
e214bc55dc Drag handle toggle at top left: Each touch/non-touch screen can
use different setting, because it's saved to browser localstorage,
not database. For example, when using Firefox Multi-Account Containers AddOn,
different browsers etc, when logged in as same user.

Thanks to hatl and xet7 !

Fixes #4715
2022-10-23 15:17:41 +03:00
Martin Filser
610bd66122 Checklist copy/move dialog was sometimes empty
- a Exception was thrown the return value was an object because #each only accepts arrays and cursors

See also:
https://github.com/wekan/wekan/issues/4655#issuecomment-1250106151
2022-09-17 19:11:34 +02:00
Martin Filser
18d88035fb CustomFieldStringTemplate regular expressions, .{1,10} also possible 2022-09-16 19:56:27 +02:00
Martin Filser
53bfa967c6 CustomFieldStringTemplate regular expressions now on minicard too 2022-09-16 19:56:27 +02:00
Repmovs
03a75c9c05 set miniscreen to 250px 2022-08-20 17:08:50 +00:00
Martin Filser
c437c0d3f1 get all cards sometimes failed because the list was undefined 2022-08-18 17:45:56 +02:00
Martin Filser
97109df673 copy/move checklist uses now the same code as copy/move card 2022-08-18 17:45:56 +02:00
Martin Filser
d4338dd5cc Moving DialogWithBoardSwimlaneList class to it's own file 2022-08-18 17:45:56 +02:00
Repmovs
d7bb0b4cc0 Set drag handle on touch screen not miniscreen 2022-08-12 17:21:45 +00:00
Martin Filser
6eb1495c3b _getTopStack(), comment type error 2022-08-05 20:53:12 +02:00
Daniel Kaiser
339e044a30 Fix and update easysearch 2022-08-05 13:06:02 +02:00
Martin Filser
2e5ec0308f Adjust all other moment imports to moment-with-locales 2022-04-27 17:24:42 +02:00
Martin Filser
d1714abc6a Card Details dates in user language format 2022-04-27 17:24:42 +02:00
Denis Perov
8f43b74bbc Fix language auto-detection 2022-04-21 19:41:56 +03:00
Lauri Ojansivu
0c3ca14699 Merge branch 'upgrade-meteor-2.6' of https://github.com/majus/wekan into upgrade-meteor 2022-04-18 21:25:47 +03:00
David Arnold
5e131f4c76 fixup! Ref: original & and use fileObj.meta 2022-04-18 18:17:01 +03:00
David Arnold
97356603aa Ref: original & and use fileObj.meta
fileObj.meta is part of the ostrio:files API and be passed to the
constructor. This is less hacky than trying tu update a persistet object
after the fact.
2022-04-18 18:16:23 +03:00
David Arnold
ccbc53cb9b Ref: Attachment upload handlers 2022-04-18 18:16:23 +03:00
Jan Küster
60af7766bf Switch tap:i18n to custom TAPi18n implementation 2022-04-18 18:02:14 +03:00
helioguardabaxo
147a3d99cb Added Table View to My Cards 2022-04-17 22:23:29 -03:00
Lauri Ojansivu
b378bb55ac Merge remote-tracking branch 'remotes/origin/master' into feature-meteor-files 2022-03-01 21:09:55 +02:00