Commit Graph

2078 Commits

Author SHA1 Message Date
Toby Zerner
ae0a510b1f Remove hack to make tag permissions work
Since we now grant these global permissions if the user has the respective permission for any individual tags.
2016-01-16 14:07:13 +10:30
Toby Zerner
bff128c9fd Merge branch 'master' of https://github.com/flarum/core 2016-01-16 13:57:17 +10:30
Toby Zerner
883feb5b69 Check permission through the gate rather than directly on the actor 2016-01-16 13:57:05 +10:30
Toby Zerner
f55aa4502c Give GetPermission event priority when determining permissions 2016-01-16 13:56:37 +10:30
JoshyPHP
028d538008 Added support for new minifiers 2016-01-15 16:59:56 +01:00
Franz Liedke
98e3551ff2 Merge pull request #720 from Albert221/permission-denied-fix
#719 Fixed PermissionDeniedException
2016-01-13 12:31:38 +01:00
Toby Zerner
b2b4064d12 Clear search when input is empty and enter is pressed. fixes #650 2016-01-13 10:06:04 +10:30
Toby Zerner
dbfbab5a48 Fix/clean up created gambit
$matches indices were incorrect.
2016-01-13 10:03:26 +10:30
Toby Zerner
4bd2ff869e Merge branch 'created-gambit' of https://github.com/Albert221/core 2016-01-13 09:53:24 +10:30
Toby Zerner
a506b7c275 Key item lists to maintain identity across redraws
Fixes #667. This issue was due to the fact that Mithril would change the "Lock" badge into a "Sticky" badge, but the tooltip initialization would not be triggered because it was using the same element. By maintaining element identity, the "Lock" badge will remain untouched, and a new element for the "Sticky" badge will be inserted before it. See https://lhorie.github.io/mithril/mithril.html#dealing-with-focus for more information.
2016-01-13 09:34:12 +10:30
Toby Zerner
a4a1fa69b1 Merge pull request #741 from Albert221/prefix-fix
UrlGenerator prefix fix.
2016-01-13 08:17:10 +10:30
Albert221
c6ff9660d3 Unified two URL prefix variables into one 2016-01-12 22:07:47 +01:00
Albert
18ec25c898 Merge pull request #2 from flarum/master
Update
2016-01-12 22:04:03 +01:00
Toby Zerner
1fb67d1251 Merge branch 'replay-animation' of https://github.com/sijad/core 2016-01-12 19:14:07 +10:30
Toby Zerner
1f3cdd5573 Use correct directory in loadLanguagePackFrom API 2016-01-12 18:35:37 +10:30
Toby Zerner
90437016ea Extract Google font import to a head string, make overideable
Allowing headStrings to be named is a bit of a stopgap solution. Really ClientView needs to be given much more power with headStrings and footStrings as separate objects, similar to the ItemList in the JS app.
2016-01-12 18:29:21 +10:30
Sajjad Hasehmian
746fc9ea14 Add flash animation when scrolling to post preview fixes #666 🤘 2016-01-12 10:58:19 +03:30
Toby Zerner
5e1e5b176d Merge pull request #735 from bogdanteodoru/master
#679 Ask for confirmation before "Mark all as Read"
2016-01-12 17:09:26 +10:30
Bogdan Teodoru
6225a29e29 #679 Ask for confirmation before "Mark all as Read" 2016-01-12 08:23:02 +02:00
Franz Liedke
e52cf012b2 Merge pull request #731 from sijad/bio-nofollow
Add rel="nofollow" to bio links (fixes #449)
2016-01-11 11:09:52 +01:00
Sajjad Hasehmian
e84ab1daa1 Add rel="nofollow" to bio links (fixes #449) 2016-01-11 13:29:01 +03:30
Franz Liedke
4f869b9829 #717: Implement helper for registering a language pack 2016-01-11 08:46:20 +01:00
Franz Liedke
13354e7ed7 Remove Studio hack 2016-01-11 08:38:30 +01:00
Franz Liedke
56d7fc9cf5 Remove empty line 2016-01-11 08:15:14 +01:00
Franz Liedke
e090eed621 Merge pull request #730 from Luceos/remove_path_forum
removed patch from api routes, fixes #725
2016-01-11 08:14:18 +01:00
Daniel Klabbers
9cb4dee415 removed patch from api routes, fixes #725 2016-01-11 08:09:01 +01:00
Franz Liedke
66f14503e7 Merge pull request #729 from bogdanteodoru/master
#679 Ask for confirmation before "Mark all as Read"
2016-01-10 20:58:54 +01:00
Bogdan Teodoru
2c51f6e312 #679 Ask for confirmation before "Mark all as Read" 2016-01-10 17:20:01 +02:00
Albert221
4cdcd19597 #719 Fixed PermissionDeniedException
...causing Whoops on debug and 500 HTTP error
instead of 403 Forbidden error page.
2016-01-07 19:09:57 +01:00
Albert
e3a3ab9cfd Merge pull request #1 from flarum/master
Update
2016-01-07 19:05:41 +01:00
Franz Liedke
4d8259cd95 Clarify console option 2016-01-07 16:32:01 +01:00
Franz Liedke
b48c9e6962 Clean up code in FileDataProvider 2016-01-07 16:31:21 +01:00
Franz Liedke
e31b80d27d Merge pull request #718 from opi/install-from-config-file
Add configuration file installation method.
2016-01-07 16:29:34 +01:00
opi
2ece9bfe99 Add configuration file installation method. 2016-01-07 15:20:41 +01:00
Toby Zerner
90984d73fa Merge pull request #706 from Albert221/prefixes
#696 Added support for prefixes in AbstractUrlGenerator.
2016-01-07 12:43:47 +10:30
Albert221
435f5d3431 256 Added created gambit 2016-01-05 17:04:41 +01:00
Albert221
a370725055 #696 Added support for prefixes in AbstractUrlGenerator. 2016-01-04 15:28:55 +01:00
Toby Zerner
61a29648b4 Allow existing user to be activated via API 2016-01-04 15:43:23 +10:30
Toby Zerner
d83a0ee380 Merge pull request #703 from Albert221/master
#256 Added multiple author search gambit
2016-01-04 11:40:16 +10:30
Albert221
176f9a7c93 Fixed code style 2016-01-03 14:30:35 +01:00
Albert221
1fe1e8997d #256 Added multiple author search gambit 2016-01-03 14:26:41 +01:00
Toby Zerner
e6ca326203 Merge pull request #701 from maelsoucaze/patch-1
Update year range in LICENSE
2016-01-02 17:04:54 +10:30
Maël Soucaze
348adb3af2 Update year range in LICENSE
Because some changes have been done on that year.
2016-01-02 07:08:58 +01:00
Toby Zerner
0a1d0c8646 Clean up 2016-01-02 15:26:05 +10:30
Toby Zerner
646ed873eb Allow admins to set a time when creating a post via the API
Again, the use-case for this is to allow the API to be used to import data from an old forum.
2016-01-02 15:25:48 +10:30
Toby Zerner
d19cd6fc75 Don't automatically activate users created by admins - require an attribute to be set 2016-01-02 15:24:35 +10:30
Toby Zerner
fb5dd99356 Make sure GetPermission event arguments array is empty if there is no model 2016-01-02 15:23:48 +10:30
Toby Zerner
910fdcfac7 Allow setting the token lifetime 2016-01-02 15:22:53 +10:30
Toby Zerner
b3b7ed71fa Move flood control from core to API layer
This means that flood control can be disabled depending on the nature of the request (i.e. when authenticated using a master API key). The particular use case for this is to allow using the API to migrate data from an old forum.
2016-01-02 15:22:16 +10:30
Toby Zerner
cc08e135e6 Add admin-only email: gambit to look up users by email 2016-01-02 15:09:56 +10:30