Franz Liedke
920a4071b6
Fix some incorrect automated refactorings
2017-10-03 18:49:53 +02:00
Franz Liedke
c22219ec20
Extract Flarum\Group namespace
2017-10-03 18:49:53 +02:00
Franz Liedke
11bf3e34b7
Extract Flarum\Search namespace
2017-10-03 18:49:53 +02:00
Franz Liedke
4fb38d6458
Extract new Flarum\Discussion namespace
2017-10-03 18:49:52 +02:00
Franz Liedke
66abd7ecfd
Extract new Flarum\Post namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
3481798875
Fix trait imports
2017-10-03 18:47:23 +02:00
Franz Liedke
9abc63aaac
Move events to Flarum\Extension\Event namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
6cd6a7d260
Move events to Flarum\Formatter\Event namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
6c9ff72efb
Finalize Flarum\Foundation namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
33e3d757c3
Flatten Flarum\Http namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
551e76f296
Move events to Flarum\Settings\Event namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
564ea8ff73
Extract new Flarum\User namespace
2017-10-03 18:47:23 +02:00
Franz Liedke
fda8c597f4
Flarum\Frontend: Rename ConfigureWebApp event to Rendering
2017-10-03 18:45:41 +02:00
Franz Liedke
5d1564e0fc
Flarum\Frontend: Fix view paths after renaming namespace
2017-10-03 18:45:41 +02:00
Franz Liedke
1f1b63363e
Rename controller file
2017-10-03 18:45:41 +02:00
Franz Liedke
bdf455c0c6
Move ScopeVisibilityTrait to Database namespace
2017-10-03 18:45:41 +02:00
Franz Liedke
927e4ca3ed
Restructure Flarum\Forum namespace
2017-10-03 18:45:40 +02:00
Franz Liedke
0be13d50bd
Create new Flarum\Frontend namespace
...
It replaces the old Http\WebApp namespace and swallows other namespaces
and files, such as Flarum\Asset.
2017-10-03 18:45:40 +02:00
Franz Liedke
6268c3010f
Fix serializer class names
2017-10-03 18:45:40 +02:00
Franz Liedke
acf43606a8
Register new MigrationServiceProvider
2017-10-03 18:45:40 +02:00
Franz Liedke
5ae2e9d232
Get rid of Flarum\Debug namespace
2017-10-03 18:45:40 +02:00
Franz Liedke
d897839097
Restructure Flarum\Database namespace
2017-10-03 18:45:40 +02:00
Franz Liedke
c6985ae31c
Restructure Flarum\Console namespace
2017-10-03 18:45:40 +02:00
Franz Liedke
9b24fbd5e5
Restructure Flarum\Api namespace
2017-10-03 18:45:40 +02:00
Franz Liedke
5127514d35
Restructure Flarum\Admin namespace
2017-10-03 18:45:38 +02:00
Toby Zerner
ce8a5b3e0f
v0.1.0-beta.7
2017-07-22 12:48:58 +09:30
Toby Zerner
4f3e67714e
Fix incorrect migration notes for extensions without any migrations
...
When running migrations for an extension without any migrations (eg.
BBCode), the migration notes for the previous extension were being
displayed, because the Migrator never had a chance to clear them.
2017-07-22 11:43:50 +09:30
Toby Zerner
54be3ad3c8
Define the default moderator group ID
...
This allows extensions to add default permissions for moderators,
without having to hardcode in the default moderator group ID.
2017-07-22 11:41:20 +09:30
Toby Zerner
0b00d56416
Add a new migration helper for adding default permissions
2017-07-22 11:40:06 +09:30
Toby Zerner
89d4a1e849
Remove MySQL port field from visual installer
...
Port can still be specified by suffixing the host with a :
closes #825
2017-07-22 11:32:07 +09:30
Daniël Klabbers
43ee7b59a4
Update Client.php ( #1198 )
...
* Update Client.php
Now forwarding exceptions from client to page in case debug mode is on. Fixes #1120 .
* Update Client.php
Satisfying .. the unsatisfiable.
* Update Client.php
Satisfying again.
2017-07-19 22:14:00 +02:00
Toby Zerner
4b47adabcf
Oops, that should be in seconds not minutes
2017-07-08 22:35:11 +09:30
Toby Zerner
93140b8fa4
Remember users forever (5 years) rather than 2 weeks
2017-07-08 22:29:26 +09:30
Franz Liedke
8ea13dc826
Flatten implementation of SelfDemotionGuard listener
...
Refs #736 and #1195 .
2017-07-06 21:57:47 +02:00
David Sevilla Martín
99d42372c3
Prevent yourself from locking yourself out of admin group ( #1195 )
2017-07-06 21:43:01 +02:00
Franz Liedke
01b56eecdb
Merge pull request #1201 from Luceos/patch-3
...
Update AbstractSerializer.php
2017-06-23 00:02:16 +02:00
Daniël Klabbers
d6c99eccdb
Update WebAppView.php
...
Added argument type hinting where absent.
2017-06-22 16:27:10 +02:00
Daniël Klabbers
01cb8ab79d
Update AbstractSerializer.php
...
Fixes missing argument in method. Verified it has to be a string.
2017-06-22 14:28:51 +02:00
Daniël Klabbers
57570d960e
Update StartSession.php
...
Fixed CookieFactory typo in phpdoc.
2017-06-19 16:47:20 +02:00
Daniël Klabbers
04c4806f6f
making posts and discussions private ( #1153 )
...
* flagrow/byobu#11 making posts and discussions private
* tested migrations and tested setting is_private on discussion and post manually
* added phpdoc for Post and Discussion and added the casting for these attributes
* satisfying styleci
* fixes for review
* added new private discussion event and included it in the access policy
* added new private post event and included it in the access policy
2017-05-27 14:19:15 +09:30
Davis
4c0339c30e
Allow JSON to be used for Install Command ( #1193 )
...
* Allow JSON to be used for Install Command
* Return configuration as array instead of object.
* Update InstallCommand.php
2017-05-27 14:18:09 +09:30
David Sevilla Martín
e64dc4ea45
Add viewUserList permission ( #1190 )
2017-05-24 22:06:56 +09:30
David Sevilla Martín
23b423c6ce
#1184 Fix /api/posts returning 500 ( #1188 )
...
* Fix ListPostsController::applyFilters not receiving array if argument not present
* Whoops! Use `[]` instead of `array()`
* Update AbstractSerializeController.php
* Update ListPostsController.php
2017-05-18 22:04:00 +02:00
Zeokat
7837fff107
Support PNG avatars with transparent backgrounds and fix EXIF rotation ( #1168 )
...
As `orientate` requires the EXIF extension, we can only call it if the extension is installed.
Fixes #1161 and #1163 .
2017-05-10 21:23:08 +02:00
Daniël Klabbers
9836ff6c54
Update HandleErrors.php
...
@franzliedke forgot to make variables available to the method, just triggered this but got a warning that all three variables are undefined.
2017-05-08 16:45:58 +02:00
Franz Liedke
bf20fe595a
Fix incorrect sort field name
...
Closes #1175 .
2017-05-04 21:37:03 +02:00
Franz Liedke
2f714a01ed
Cookies: Set expires flag for remember cookies
...
Without this, session remembering would not work in Internet
Explorer (and Edge?).
Fixes #1127 .
2017-03-14 22:25:20 +01:00
Franz Liedke
231d018de5
Add link() and setCanonicalUrl() methods to the WebAppView
...
These make it easier for controllers to define relationships from
the current to other pages, which is important for SEO mostly.
2017-03-13 18:08:32 +01:00
Franz Liedke
5d62231004
Fix comment typo
2017-03-13 12:52:25 +01:00
David Sevilla Martín
60d3d6ef99
Add option to hide the language selector ( #1106 )
...
* Added option to hide the language selector in the header
* Added `hide_language_selector` Switch to BasicsPage
* Added `hideLanguageSelector` property to ForumSerializer
* Apparently fixed the "Add Extension" button locale.... someone must not have compiled their changes :P
* Changed hideLanguageSelector (and such) to showLanguageSelector
* Change `core.admin.basics.show_language_selector_heading` to be `_label`
* Change showLanguageSelector in ForumSerializer to be boolean, default: true
* Ooops! Remove console.log 🤦♂️
2017-03-07 10:04:44 +10:30