Commit graph

81 commits

Author SHA1 Message Date
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
Lauri Ojansivu
39519d1cc9 1) Public board default view to Swimlane.
2) When changing Public board view (sets view cookie), also reload page so view is changed immediately.

Thanks to xet7 !
2020-06-08 19:12:17 +03:00
Lauri Ojansivu
d52affe658 Move In Progress ostrio-files changes to separate branch, and revert ostrio-files changes, so that:
- Export to CSV/TSV with custom fields works
- Attachments are not exported to disk
- It is possible to build arm64/s390x versions again.

Thanks to xet7 !

Related #3110
2020-05-25 17:54:51 +03:00
Romulus Urakagi Tsai
4064f3f406 Fix migrated attachment not readable bug
Remove reduandant files
2020-05-20 15:11:22 +08:00
Romulus Urakagi Tsai
4b196d5378 Merge branch 'master' of https://github.com/wekan/wekan into lib-change 2020-02-13 09:02:26 +00:00
Lauri Ojansivu
bf78b093ba Try to disable dragging Swimlanes/Lists/Cards/Checklists/Subtasks on small mobile smartphones webbrowsers, and hide drag handles on mobile web.
Thanks to xet7 !
2020-02-07 03:16:16 +02:00
Lauri Ojansivu
2bf004120d Add Worker role.
Add more Font Awesome icons.
Fix browser console errors when editing user profile name etc.

Thanks to xet7 !

Closes #2788
2020-01-03 06:49:35 +02:00
Romulus Urakagi Tsai
93337c20f8 Change upload routine, add upload popup 2019-12-24 08:57:34 +00:00
Lauri Ojansivu
d5a8ec1c36 Remove 1st implementation of collapse swimlanes. I will do it
differently in next 2nd implementation.

Thanks to xet7 !
2019-11-29 03:25:52 +02:00
Romulus Urakagi Tsai
6cdd464f54 Uploaded done, but uploading not 2019-11-27 09:40:19 +00:00
Lauri Ojansivu
8898862d36 Fix lint errors. 2019-11-26 02:29:36 +02:00
Lauri Ojansivu
788dd0a81a Fix lint errors. 2019-11-20 21:10:11 +02:00
Romulus Urakagi Tsai
4dcdec0084 Attachment upload from card done, need to fix download link 2019-11-20 10:40:09 +00:00
Lauri Ojansivu
115d23f929 Use database when logged in. Continued.
Thanks to xet7 !
2019-11-19 21:55:43 +02:00
Lauri Ojansivu
4786b0c18d Use database when logged in. Continued.
Thanks to xet7 !
2019-11-19 21:42:00 +02:00
Lauri Ojansivu
96abe3c691 New feature: Now there is popup selection of Lists/Swimlanes/Calendar/Roles.
New feature, not set visible yet, because switching to it does not
work properly yet: Collapsible Swimlanes #2804

Fix: Public board now loads correctly. When you select one of Lists/Swimlanes/Calendar view and
reload webbrowser page, it can change view. Closes #2311

Fix: List sorting commented out. Closes #2800

Fix: Errors hasHiddenMinicardText, hasShowDragHandles, showSort, hasSortBy, profile,
FirefoxAndroid/IE11/Vivaldi/Chromium browsers not working by using
cookies instead of database.
More details at https://github.com/wekan/wekan/issues/2643#issuecomment-554907955
Note: Cookie changes are not always immediate, if there is no effect,
you may need to reload webbrowser page.
Closes #2643 .

Thanks to xet7 !
2019-11-18 22:23:49 +02:00