Commit Graph

2073 Commits

Author SHA1 Message Date
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
Toby Zerner
7d55b81d8e Allow custom redirection after logging out 2016-01-02 15:08:50 +10:30
Toby Zerner
1fe6ff1b6f Extend access token lifetime when remembering a login 2016-01-02 15:08:28 +10:30
Toby Zerner
d242894938 Disable session (and thus enable sudo mode) when authenticating with API token 2016-01-02 15:07:33 +10:30
Toby Zerner
2777162d32 Ensure routes are only populated after extensions have registered listeners
Because extensions can have dependencies injected, a RouteCollection could potentially be instantiated, and thus the ConfigureRoutes event would be called before extensions have had a chance to subscribe to it. Instead, we instantiate the RouteCollection on demand, but only populate it when the application boots.
2016-01-02 15:03:11 +10:30
Toby Zerner
d53a525383 API: Add an event to configure server middleware 2016-01-02 15:00:07 +10:30