1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 02:31:17 +02:00
Commit Graph

1722 Commits

Author SHA1 Message Date
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
Albert221
c6ff9660d3 Unified two URL prefix variables into one 2016-01-12 22:07:47 +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
Bogdan Teodoru
6225a29e29 #679 Ask for confirmation before "Mark all as Read" 2016-01-12 08:23:02 +02: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
Daniel Klabbers
9cb4dee415 removed patch from api routes, fixes #725 2016-01-11 08:09:01 +01:00
Bogdan Teodoru
2c51f6e312 #679 Ask for confirmation before "Mark all as Read" 2016-01-10 17:20:01 +02: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
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
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
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
Toby Zerner
5091dd038f Ensure a new asset revision identifier is generated if there is none 2016-01-02 14:59:09 +10:30
Toby Zerner
cc8494f8af Merge branch 'scrubber-display-only-comments' of https://github.com/ahsanity/core 2016-01-02 12:04:04 +10:30
Toby Zerner
9d9e5c8fcb Merge pull request #676 from petermein/user-online-indicators
User online indicators
2016-01-02 09:34:11 +10:30
Toby Zerner
80d75fe712 Allow extensions to modify text/XML prior to formatting 2015-12-30 15:27:34 +10:30
Toby Zerner
f50a11b885 Use username helper when displaying user search results 2015-12-30 15:26:54 +10:30
Toby Zerner
1ae24178ff Add getters 2015-12-30 15:26:24 +10:30
Toby Zerner
9786568749 Extract method 2015-12-30 15:26:11 +10:30
Toby Zerner
fc168ef675 Always grant master API keys sudo mode 2015-12-30 15:26:07 +10:30
Toby Zerner
2f3abb9cae Merge branch 'oauth2-controller' 2015-12-29 11:13:00 +10:30
Toby Zerner
7cc2e46173 Bypass email activation when admin creates user via API 2015-12-29 11:02:07 +10:30
Franz Liedke
52cf465a90 Installer: Loosen restrictions on MySQL connection details
Closes #602.
2015-12-27 17:31:42 +01:00
Peter Mein
596ed23495 Fixed name to camel case 2015-12-26 13:06:58 +01:00
Peter Mein
e607297635 Changed case on helper function
Stub for renaming case of file
2015-12-26 13:06:31 +01:00
Ahsanul Bari
6d2de8db07 Issue #197: Make PostStreamScrubber display numbers relating to only comment posts 2015-12-25 13:01:42 +06:00