David Sevilla Martín
209cf8a25d
Update Application version string to beta 11
2019-11-28 11:40:42 +01:00
Franz Liedke
5020a3a927
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-28 00:16:50 +00:00
Franz Liedke
e73c421efa
Update copyright claims in LICENSE
2019-11-28 01:14:16 +01:00
Daniel Klabbers
c730578a76
v0.1.0-beta.11 changelog
2019-11-26 16:31:25 +01:00
Daniel Klabbers
e4daca44a1
v0.1.0-beta.10 changelog
2019-11-26 16:28:50 +01:00
Daniel Klabbers
e177857235
changelog for beta 10
2019-11-26 16:22:04 +01:00
Daniel Klabbers
eadeb75afa
preparing the changelog for beta 11, part 2
2019-11-26 13:23:09 +01:00
Daniel Klabbers
b4db0bac91
preparing the changelog for beta 11
2019-11-26 12:59:29 +01:00
Clark Winkelmann
c7634e48b6
Fix tests to include expectation count and run user saving events
2019-11-26 10:13:18 +01:00
Clark Winkelmann
c2cd9174e4
Add unit test for AvatarUploader
2019-11-26 10:13:18 +01:00
Clark Winkelmann
64dfe9559b
Fix avatar files not being deleted. Fixes #1918
2019-11-26 10:13:18 +01:00
flarum-bot
4506c7cfa3
Bundled output for commit 3acee604d4
[skip ci]
2019-11-24 19:01:17 +00:00
w-4
3acee604d4
history back function fix
...
it shouldn't check for canGoBack again after the array pop()
2019-11-24 13:59:51 -05:00
Daniel Klabbers
a0ed6c5d69
incorrect ability used, drop prefix discussion.
2019-11-22 08:17:02 +01:00
Daniel Klabbers
07313a15c4
test only on the hidePosts policy ability
2019-11-22 08:17:02 +01:00
Daniel Klabbers
6fcc720f6c
resume chain in query builder
2019-11-22 08:17:02 +01:00
Daniël Klabbers
b35afc2be7
[review] using orWhere to allow any where to follow in extensions
2019-11-22 08:17:02 +01:00
Daniël Klabbers
78e146dac8
fixes #1827
...
- set default statement to block access
- added tests to confirm all scenarios work as intended
2019-11-22 08:17:02 +01:00
Franz Liedke
2a71ee215c
Automatically set up Mockery for unit tests
...
- Use provided PhpUnit listener to enforce verification of expectations.
- Include Mockery's trait to auto-close Mockery after each test.
2019-11-21 00:51:11 +01:00
Franz Liedke
b83edc54fc
Actually return null
...
Nullable return types require an explicit null return value; not
returning or returning without value is the "void" type.
2019-11-21 00:46:01 +01:00
Daniël Klabbers
8ddc329d2a
fixes showing which tags are selected
2019-11-20 15:03:06 +01:00
David Sevilla Martin
c357907c73
Add test for discussion posts being deleted on discussion delete from DB
2019-11-18 09:23:53 +01:00
David Sevilla Martin
41d55e6fe2
Fix failing tests
2019-11-18 09:23:53 +01:00
datitisev
ea03909fb2
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-18 09:23:53 +01:00
David Sevilla Martin
2bb554e93b
Remove 'or' from 'orWhereNotExists'
2019-11-18 09:23:53 +01:00
David Sevilla Martin
19c79c9dd3
Add discussion_id foreign key to posts table
2019-11-18 09:23:53 +01:00
flarum-bot
2a974bf8c6
Bundled output for commit 3e07f47b51
[skip ci]
2019-11-15 14:10:15 +00:00
Clark Winkelmann
3e07f47b51
Pass event to KeyboardNavigatable whenCallback ( #1922 )
...
This way the callback can know which key is pressed.
2019-11-15 15:08:36 +01:00
Daniël Klabbers
ba79935bfe
Fix the queue:restart command ( #1932 )
...
Adding a proxy callStatic on our simple implementation of the Manager class allows passing through calls like `forever()` to the underlying cache driver instance.
2019-11-15 15:01:31 +01:00
Franz Liedke
1bb39bbacb
Add a docblock
2019-11-13 21:19:21 +01:00
Daniël Klabbers
6e4c605da1
only show queue commands if using another driver than sync
2019-11-13 13:17:09 +01:00
flarum-bot
e8cbdfe6f8
Bundled output for commit 5c1e0293e3
[skip ci]
2019-11-12 19:27:29 +00:00
Daniël Klabbers
5c1e0293e3
Fix existing Post component classes being dropped
2019-11-12 20:26:07 +01:00
Daniël Klabbers
12841672bd
Merge pull request #149 from matteocontrini/patch-1
...
Improve the "last seen time" permission text
2019-11-11 13:56:07 +01:00
flarum-bot
29359568e8
Bundled output for commit 830f48a212
[skip ci]
2019-11-11 12:00:45 +00:00
Daniël Klabbers
830f48a212
Improved naming of class for post by actor.
...
Made class list for post extensible by using a separate method.
2019-11-11 12:59:26 +01:00
flarum-bot
9f0a178f58
Bundled output for commit f9da947d07
[skip ci]
2019-11-11 11:15:09 +00:00
Matthew Kilgore
f9da947d07
Removed LESS changes
2019-11-11 12:13:36 +01:00
Matthew Kilgore
37ecb7d9a5
Set border to left side only
2019-11-11 12:13:36 +01:00
Matthew Kilgore
6668f1b7ee
Added border around post made by active user
2019-11-11 12:13:36 +01:00
Matteo Contrini
6605c736ce
Improve the "last seen time" permission text
...
This commit makes a bit clearer the fact that the permission serves to override the privacy settings of users. Without the "Always" word, one might think that the permission is required for users to see each other's last seen time in general.
2019-11-10 17:19:01 +01:00
flarum-bot
6d78445569
Bundled output for commit 8fc1458467
[skip ci]
2019-11-09 13:51:55 +00:00
David Sevilla Martin
8fc1458467
Cleanup some code and fix alert dismiss not working
2019-11-09 08:50:24 -05:00
Moritz Stueckler
f7176cb076
feat: re-add debug button/modal
...
Fixes #1687
2019-11-09 08:50:24 -05:00
David Sevilla Martin
898ab9000e
Fix Modal width on <768px screens not occupying the whole page
2019-11-06 17:48:00 -05:00
Daniël Klabbers
f46719c639
Merge pull request #19 from flarum/ds/flags-api-logged-in-check
...
Assert registered in /api/flags to fix issue with guests
2019-11-06 13:32:50 +01:00
David Sevilla Martin
da37c9a0a5
Assert registered in /api/flags to fix issue with guests
2019-10-29 18:05:49 -04:00
flarum-bot
0ef0b0c0c0
Bundled output for commit 4211cbb9cb
[skip ci]
2019-10-28 15:37:34 +00:00
Daniël Klabbers
4211cbb9cb
Update User.js
...
Use recommended `anonymous`, see https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin
2019-10-28 16:35:45 +01:00
J.C.Ködel
41e97db5d0
Fix Color Thief cross origin bug
...
When users have external avatar urls (for instance: in a SSO environment where the avatar is provided by another domain), color thief fails to get the avatar dominant color because the canvas would be tainted.
Following the instructions here (https://lokeshdhakar.com/projects/color-thief/ on the "Does it work if the image is hosted on another domain?"), adding an `image.crossOrigin = 'Anonymous';` solves the issue.
Tested on my forum which before suffered from a JS error and works fine (without this fix, the canvas remain in the `body` while an script error is thrown by color thief)
2019-10-28 16:35:45 +01:00