1
0
mirror of https://github.com/flarum/core.git synced 2025-08-26 09:34:59 +02:00
Commit Graph

8723 Commits

Author SHA1 Message Date
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
Franz Liedke
fef6612d62 Revert search performance regression
We decided it is better to have a less intelligent search (that does not
match search terms in titles) for some people than a bad-performing
search for everyone.

We will revisit the search performance topic in the next release cycle,
possibly with larger changes around indexing.

Refs #1738, #1741, #1764.
2019-10-26 15:41:39 +02:00
Daniël Klabbers
2febb2653f improve queue error handling 2019-10-18 13:13:30 +02:00
Daniël Klabbers
62e1a8e5c2 added return type hint to memory cache 2019-10-08 15:51:19 +02:00
Daniël Klabbers
ec04ca7f97 add type hinting to settings repository 2019-10-08 15:39:01 +02:00
Daniël Klabbers
766c925115 cleaned up the Tag model and obsoleted/unused property 2019-10-07 14:16:10 +02:00
luceos
479266b368 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-10-07 09:56:10 +02:00
Daniël Klabbers
53b2d9fabb added ability to re-use existing error handling stack 2019-10-07 09:56:10 +02:00
David Sevilla Martin
7d15fb87b7 Alias 'flarum.queue.connection' to Queue contract 2019-10-05 16:14:27 -04:00
flarum-bot
072a60cef7 Bundled output for commit e59c54eae0 [skip ci] 2019-10-02 00:04:03 +00:00
David Sevilla Martín
e59c54eae0 Fix tag change event posts with deleted tags erroring (#66)
Fixes #1864
2019-10-02 02:02:45 +02:00
Tariq Hussein
2682c573eb Fixes #1877 Replace getIdsForUsername() with subquery instead. (#1878) 2019-10-02 01:04:01 +02:00
flarum-bot
9ddd1b6e81 Bundled output for commit 614b4a1d4e [skip ci] 2019-10-01 21:50:25 +00:00
Madalin Tache
614b4a1d4e Update window size (#1894)
This small change attempts to fix #1727, as i just got my eye on it and figured i could simply fix it while seeing it.
2019-10-01 23:48:54 +02:00
flarum-bot
4cab24225f Bundled output for commit 7fe95ec695 [skip ci] 2019-10-01 21:39:07 +00:00
David Sevilla Martín
7fe95ec695 Enable scrollbars in login button popups (#1900)
Fixes #1716
2019-10-01 23:37:42 +02:00
Daniël Klabbers
ccb8b1b6cc works towards #1789 by allowing event subscribing (#1810) 2019-10-01 11:12:46 +02:00
Franz Liedke
8faf774210 Amend the existing rel attribute of links
...instead of overwriting. This will play more nicely with extensions.

Refs #859.
2019-09-26 23:02:39 +02:00
Franz Liedke
2641b7c036 Stop opening external links in new tabs
We accept that this may be desired by forum owners and will offer an
extension to enable this feature. By default, we will not make any
assumptions and simply adopt the web's and browsers' default behavior.

Fixes #859.
2019-09-26 23:01:24 +02:00
Franz Liedke
5a9c1a91b2 Cleanup code from #1876
- Extract a method for email address generation
- Consistent types
- No docblocks for types where superfluous
- Tweak console output
- Don't inherit from integration test's base class in unit test
2019-09-24 01:00:22 +02:00
Stefan Totev
522d3356ca Normalize Base URL during installation
- Fix base url when is appended with a script filename
- Add default base url http://flarum.local when CLI wizard used
- Remove some code duplication
- Add minor improvement to the UX when CLI wizard used
- Add tests
- Extract base url normalisation into its own value object
2019-09-24 00:26:51 +02:00
Matteo Contrini
520ac6fdb9 Change rel for external links to nofollow ugc (#1884) 2019-09-23 23:37:49 +02:00
flarum-bot
ed59241ecf Bundled output for commit 0fdb32d2a7 [skip ci] 2019-09-20 06:22:45 +00:00
Daniël Klabbers
0fdb32d2a7 Merge pull request #21 from flarum/cw/fix-fa-icons
Fix FontAwesome icons
2019-09-20 08:21:38 +02:00
Clark Winkelmann
c25c46e280 Removed unused imports 2019-09-19 23:13:01 +02:00
Clark Winkelmann
aca910b705 Fix user icon for FontAwesome 5 2019-09-19 23:01:37 +02:00
Franz Liedke
d07a35982c Update vulnerable JS dependencies 2019-09-17 23:19:22 +02:00
Franz Liedke
f9ad3d36e4 Update vulnerable JS dependencies 2019-09-17 23:17:45 +02:00
Franz Liedke
d87dc1f84e Update vulnerable JS dependencies 2019-09-17 23:16:58 +02:00
Franz Liedke
a3f6a59152 Update vulnerable JS dependencies 2019-09-17 23:13:33 +02:00
Franz Liedke
6185e74d93 Update vulnerable JS dependencies 2019-09-17 23:12:35 +02:00
Franz Liedke
4f07bc2ba3 Update vulnerable JS dependencies 2019-09-17 23:11:37 +02:00
Daniël Klabbers
2bb81ba03f added author Daniel Klabbers 2019-09-16 10:37:51 +02:00
Daniël Klabbers
ba0b4b47a3 updated requirement with flarum/core v0.1.0-beta.10 2019-09-16 10:18:36 +02:00
Daniël Klabbers
07b116433f updated requirement with flarum/core v0.1.0-beta.10 2019-09-16 09:50:11 +02:00
Daniël Klabbers
0b80dfe837 updated requirement with flarum/core 2019-09-16 09:34:22 +02:00
Daniël Klabbers
7832c7c48c updated requirement with flarum/core 2019-09-16 09:30:46 +02:00
David Sevilla Martín
44dba542b1 Prepare beta.10 release (#1885)
* Update Application version string to beta 10
* Add beta.10 changelog
2019-09-16 09:28:17 +02:00
Franz Liedke
c68a6280a7 Add changelog 2019-09-15 22:44:30 +02:00
Franz Liedke
9bb4894ec0 Update changelog for beta.10 2019-09-15 22:43:58 +02:00
Franz Liedke
c4211ee015 Update changelog for beta.10 2019-09-15 22:43:46 +02:00