Commit graph

3775 commits

Author SHA1 Message Date
Lauri Ojansivu
b0d507c2dd [Fixes the following bugs](https://github.com/wekan/wekan/pull/2287):
- [#2250 -> the spinner could be shown on startup and never goes away](https://github.com/wekan/wekan/issues/2250).
- The code will now only load extra cards that will be in the current viewport.
- When 2 users were interacting on the same board, there was a situation where the spinner could show up on the other user, without being able to load the extra cards.
- The code is now much simpler, thanks to the IntersectionObserver, and all of this for fewer lines of code :)

Thanks to bentiss with Apache I-CLA !

Closes #2250
2019-03-27 17:38:54 +02:00
Lauri Ojansivu
619e5e944b Merge branch 'bentiss-fix-infinite-scroll' into edge 2019-03-27 17:33:53 +02:00
Benjamin Tissoires
e2d0faa539 list: disconnect infinite-scroll observer to prevent memory leak 2019-03-26 16:28:25 +01:00
Benjamin Tissoires
cbb6c82113 list: move the spinner into its own blaze component
This way, when a list is at the maximum number of cards shown and adding
a new card would make the spinner appear, the list would load the next
N items.

This can happen if user A and B are both looking at the same board,
B adds a new cards, and A will see the spinner and will not be able to
remove it.
2019-03-26 16:27:52 +01:00
Benjamin Tissoires
00376b43f8 list: make sure the spinner of infinite scrolling doesn't show on load
When loading a board on a high resolution screen, there is a chance there
is not enough cards displayed and the spinner is still there, spinning
forever.

Add an idle callback that checks if the spinner is still there, and while
it is there, extend the number of cards to show.

Fixes #2250
2019-03-26 16:26:59 +01:00
Benjamin Tissoires
fb163a2493 list: simplify infinite scrolling
Use IntersectionObserver instead of custom made one.
This adds the benefit of not loading any extra cards if the list is
not shown on screen
2019-03-26 16:25:49 +01:00
Lauri Ojansivu
14c493fc63 v2.55 2019-03-25 19:11:35 +02:00
Lauri Ojansivu
625682a4da - Use older api2html@0.3.0 to fix broken snap and docker build,
because newer api2html caused
  [breaking change](a9a41bca18)
  at api2html/bin/api2html.js:23 has error about "php: "PHP".

Thanks to bentiss with Apache I-CLA !

Closes #2286
2019-03-25 18:57:35 +02:00
Lauri Ojansivu
eec8f45de5 v2.54 2019-03-25 17:11:29 +02:00
Lauri Ojansivu
0855e3e32f Update translations. 2019-03-25 17:04:29 +02:00
Lauri Ojansivu
fab3ce46b8 - Fix typos.
- Fix Outgoing Webhook message about created new swimlane.

Related #1969
2019-03-25 17:02:36 +02:00
Lauri Ojansivu
08c8ebc100 - Fix typos.
- Fix Outgoing Webhook message about created new swimlane.

Related #1969
2019-03-25 16:59:12 +02:00
Lauri Ojansivu
0039fe09be Removed commented out text. 2019-03-24 17:44:03 +02:00
Lauri Ojansivu
97beed6fd1 v2.53 2019-03-23 21:34:43 +02:00
Lauri Ojansivu
994314cfa3 Fix filenames and urls. 2019-03-23 21:30:41 +02:00
Lauri Ojansivu
db6dbe34c3 Fix docker-compose.yml 2019-03-23 21:13:03 +02:00
Lauri Ojansivu
fa7ef361e2 Update translations. 2019-03-23 13:17:36 +02:00
Lauri Ojansivu
296349a83b v2.52 2019-03-22 13:08:36 +02:00
Lauri Ojansivu
563458e0b5 Update translations. 2019-03-22 12:03:25 +02:00
Lauri Ojansivu
169301fa18 Update translations. 2019-03-22 09:25:18 +02:00
Lauri Ojansivu
0363e6f122 Remove extra title quotes, so that Custom Product Name comes visible.
Thanks to xet7 !
2019-03-22 01:35:53 +02:00
Lauri Ojansivu
c259324185 Fix cloning repos. 2019-03-21 23:58:58 +02:00
Lauri Ojansivu
57767d9906 Update translations. 2019-03-21 23:48:36 +02:00
Lauri Ojansivu
1a26f9fb82 Update translations. 2019-03-21 22:35:13 +02:00
Lauri Ojansivu
19ab7db239 Add vanila community link. 2019-03-21 22:34:41 +02:00
Lauri Ojansivu
ded430c155 - [Add LDAP config example, remove extra text](506acda70b).
Thanks to xet7 !
2019-03-21 22:24:35 +02:00
Lauri Ojansivu
506acda70b - Add LDAP config example, remove extra text.
Thanks to xet7 !
2019-03-21 22:22:46 +02:00
Lauri Ojansivu
d173844f98 OAUTH2_LOGIN_STYLE popup or redirect, part 2 and 3. 2019-03-21 21:41:18 +02:00
Lauri Ojansivu
7919ae3628 - OAUTH2_LOGIN_STYLE popup or redirect, part 2.
Thanks to xet7 !
2019-03-21 21:37:38 +02:00
Lauri Ojansivu
188d42dcd6 [Add option to redirect OIDC OAuth2 login](82a894ac20).
Thanks to xet7 !
2019-03-21 20:59:45 +02:00
Lauri Ojansivu
7735394373 - [Fix IFTTT email sending](https://github.com/wekan/wekan/pull/2279).
Thanks to justinr1234.

Related #1972
2019-03-21 20:38:06 +02:00
Lauri Ojansivu
30bf8a1724
Merge pull request #2279 from justinr1234/patch-2
Fix IFTTT email sending
2019-03-21 20:35:38 +02:00
Lauri Ojansivu
0310560938 More whitelabeling. 2019-03-21 20:32:07 +02:00
Lauri Ojansivu
2969161afb - More whitelabeling.
Thanks to xet7 !
2019-03-21 20:27:21 +02:00
Lauri Ojansivu
a6213d4a6f Update translations. 2019-03-21 20:21:21 +02:00
justinr1234
12268bd065
Fix IFTTT email sending 2019-03-21 10:22:57 -05:00
Lauri Ojansivu
35a66c3550 Fix typo. 2019-03-21 02:41:21 +02:00
Lauri Ojansivu
402a974a70 v2.51 2019-03-21 01:22:09 +02:00
Lauri Ojansivu
079cd95e0e
Merge pull request #2269 from andresmanelli/fix_2268
Fix #2268
2019-03-21 01:13:33 +02:00
Lauri Ojansivu
e9f5aaa397 v2.50 2019-03-21 01:11:48 +02:00
Lauri Ojansivu
ca0236fdfd [Fix](https://github.com/wekan/wekan/pull/2269) [Unable to change card title in Template](https://github.com/wekan/wekan/issues/2268)
and [Fix Unable to create a new board from a template](https://github.com/wekan/wekan/issues/2267).

Thanks to andresmanelli !

Closes 2268,
closes #2267
2019-03-21 00:56:18 +02:00
Lauri Ojansivu
da3edb35cc v2.49 2019-03-21 00:39:35 +02:00
Andrés Manelli
ef6054b859 Fix #2268 2019-03-20 23:32:52 +01:00
Lauri Ojansivu
1046976c08 [Fix Cards disappear when rearranged on template board](https://github.com/wekan/wekan/issues/2266).
Thanks to andresmanelli !

Closes #2266
2019-03-21 00:23:35 +02:00
Lauri Ojansivu
f8cbbfc2cd
Merge pull request #2270 from andresmanelli/fix_2266
Fix #2266
2019-03-21 00:21:19 +02:00
Lauri Ojansivu
f083fc0d7b Update changelog. 2019-03-21 00:13:31 +02:00
Lauri Ojansivu
72cb820f1f Merge branch 'andresmanelli-fix_subtasks' into edge 2019-03-21 00:12:06 +02:00
Lauri Ojansivu
d5d33247fb Merge branch 'fix_subtasks' of https://github.com/andresmanelli/wekan into andresmanelli-fix_subtasks 2019-03-20 23:50:43 +02:00
Lauri Ojansivu
9f95a10591 Update translations. 2019-03-20 21:45:56 +02:00
Lauri Ojansivu
5ca083105c Update changelog. 2019-03-20 21:36:19 +02:00