Commit graph

96 commits

Author SHA1 Message Date
Martin Filser
3641a8f389 don't set background image in .board-canvas too 2024-08-06 21:30:27 +02:00
Martin Filser
875442f1ce removing Utils.getCurrentSetting() and use ReactiveCache directly 2023-07-20 21:11:29 +02:00
Martin Filser
66c2140911 replace Array#forEach() ... Array#push with Array#map 2023-07-18 21:25:28 +02:00
Martin Filser
10a9306abd Move every Boards.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory client/) 2023-07-18 21:25:28 +02:00
Martin Filser
5e3a9dc059 Move every Meteor.user() to the ReactiveCache 2023-07-18 21:25:28 +02:00
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
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
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
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
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
Repmovs
03a75c9c05 set miniscreen to 250px 2022-08-20 17:08:50 +00:00
Repmovs
d7bb0b4cc0 Set drag handle on touch screen not miniscreen 2022-08-12 17:21:45 +00:00
helioguardabaxo
147a3d99cb Added Table View to My Cards 2022-04-17 22:23:29 -03:00
David Arnold
e2f7b94cde fixup! Ref: original & and use fileObj.meta 2022-02-06 13:19:58 +03:00
David Arnold
e702f17c7b 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-02-06 13:19:58 +03:00
David Arnold
55acce9f0c Ref: Attachment upload handlers 2022-02-06 13:19:57 +03:00
Martin Filser
7444c11c82 Moved "copied!" code to Utils
- same implementation in all files, so it's better to have one function
  for it
2021-11-25 23:16:09 +01:00
Martin Filser
4bfa727e9e Show a "copied!" tooltip after successfull URL copy 2021-11-25 23:16:09 +01:00
Martin Filser
0227b38845 Copy card url works now again
Fixes: #4155
2021-11-25 23:13:29 +01:00
Martin Filser
c9071a74bc jquery-ui works now with touch devices
- the "old" implementation at wekan source code didn't work anymore with
  jquery-ui@1.13.0, so it's necessary to use another package to get it
  work again
2021-11-25 22:42:06 +01:00
Martin Filser
f4a3363f6f replace Session key popupCard with popupCardId (better meaning of what the variable contains) 2021-11-12 17:45:52 +01:00
Martin Filser
4733afe4eb Global Search Card Popup has now every data if the search was opened from another board
- the global search only returns the card details data needed to display
  the search results, but for opening the popup card details a lot more
  information is needed. It already worked if the data was already in the
  minimongo, but if not, nearly nothing was displayed
2021-11-12 17:45:52 +01:00
Martin Filser
a72f1ae8de Card Details Popup close, list moved to top -> fixed 2021-10-20 18:41:33 +02:00
Martin Filser
fb66b84b58 Card Details, description edit is now saved at popup 2021-10-20 18:41:33 +02:00
Martin Filser
b9178cfcb6 isMiniScreen and showDesktopDragHandles centralized in class Utils
- a lot of same code everywhere in many files, this is against the
  concept "don't repeat yourself"
2021-10-20 18:40:41 +02:00
Jan Küster
20452d7296
initial tests added 2021-06-23 12:08:14 +02:00
John R. Supplee
6920c39752 Don't reload page when returning default sort 2021-01-29 21:09:28 +02:00
John R. Supplee
55b121e0d3 Development and fixes to My Cards and Due Cards 2021-01-09 18:36:27 +02:00
John R. Supplee
1abdd5177d Initial work on due cards page 2021-01-07 22:36:10 +02:00
John R. Supplee
e55b50bc5a My Cards development
* Popup.open() not working so simply toggle between board sort and 'due by'
* clean-up CSS classes
* code clean-up
2021-01-07 12:04:14 +02:00
John R. Supplee
1ea99a5dc8 My Cards development
* Add cards due view
* Add input for selecting sort (not working)
* Add methods to `Utils` to save sort to local browser storage
*  CSS updates to make lists display horizontally within swimlanes
2021-01-06 20:13:36 +02:00
Lauri Ojansivu
3c406d955e Removed cookie code that is not in use.
Thanks to xet7 !
2020-12-15 22:34:57 +02:00
Lauri Ojansivu
bec0b7ec56 Update ChangeLog. Fix lint. 2020-11-29 04:24:53 +02:00
Martin Filser
fd41e8ba45 Drag handles for checklist #3240 2020-11-11 00:13:26 +01:00
Lauri Ojansivu
460b1d3a66 Changed public board changing Swimlanes/Lists/Calendar view
and changing Hide minicard label text
from using cookies to using browser localStorage.

Thanks to xet7 !
2020-10-28 15:45:37 +02:00