1
0
mirror of https://github.com/flarum/core.git synced 2025-08-29 11:00:12 +02:00
Commit Graph

8745 Commits

Author SHA1 Message Date
Franz Liedke
d62e31f42e Merge pull request #4 from CDK2020/master
Update for beta 8
2017-09-05 08:31:47 +02:00
Charlie
60ea08c846 Update for beta 8 2017-09-04 21:15:10 -07:00
Charlie
89cd6b1c0e Update for beta 8 2017-09-04 21:08:40 -07:00
Charlie
f17f789878 Update for beta 8 (#12)
* Update for beta 8

* Make StyleCI happy
2017-09-01 16:37:48 +09:30
Charlie
360b9b04f1 Update for beta 8 (#44)
* Update for beta 8

* Make StyleCI happy

* Update Tag.php
2017-09-01 16:37:39 +09:30
epoxa
2b8b63cb01 Fix oauth controller wrong session method call (#1226) 2017-08-19 14:43:21 +09:30
zinsserzh
3517d4e86c Add isEmpty function to ItemList (#1218)
* Add isEmpty function to ItemList

* Fix coding style to be consistent.

* Recompiled app.js for both js/admin/ and js/forum/
2017-08-10 11:37:00 +09:30
Franz Liedke
1349f146d5 Don't hardcode admin URL
Fixes #1219.
2017-08-04 23:37:59 +02:00
Toby Zerner
37bc5eea08 Fix scrubber icon alignment 2017-07-30 09:17:50 +09:30
Franz Liedke
c7767e45b5 Remove faulty default value
Fixes #1210.
2017-07-27 00:55:33 +02:00
Franz Liedke
e85f4122ee Remove obsolete import 2017-07-27 00:27:48 +02:00
Franz Liedke
34bfa56fce Merge branch 'master' of github.com:flarum/flarum-ext-approval 2017-07-27 00:21:09 +02:00
Toby Zerner
0e4fae028b Fix user online icon spacing 2017-07-22 16:10:08 +09:30
Toby Zerner
00588ce39d Make dropdown menu icons a nicer fixed width 2017-07-22 16:09:51 +09:30
Toby Zerner
140ae49369 v0.1.0-beta.7 2017-07-22 12:48:58 +09:30
Toby Zerner
0b1a76ec94 And remove unused import 2017-07-22 12:31:23 +09:30
Toby Zerner
98663b74b7 Fix missed instance of back button tooltip 2017-07-22 12:30:55 +09:30
Toby Zerner
5d1f204ffb Oops, forgot to correct test code 2017-07-22 12:29:03 +09:30
Toby Zerner
e5bdcce36d Add default permissions 2017-07-22 12:22:03 +09:30
Toby Zerner
3bca855696 Add default permissions 2017-07-22 12:20:24 +09:30
Toby Zerner
a7f53dbe63 Require b7 for new migration helper 2017-07-22 12:19:55 +09:30
Toby Zerner
1f258c362a Use new migration helper 2017-07-22 12:19:29 +09:30
Toby Zerner
1dd82e0bcc Add default permissions 2017-07-22 12:18:15 +09:30
Toby Zerner
5a9711fac9 Require b7 for new migration helper 2017-07-22 12:17:30 +09:30
Toby Zerner
4e9184ae32 Add default permissions 2017-07-22 12:16:24 +09:30
Toby Zerner
ae86c1113d Require b7 for new migration helper 2017-07-22 12:15:22 +09:30
Toby Zerner
c1789f65be Add default permissions 2017-07-22 12:14:27 +09:30
Toby Zerner
9fb03d3549 Add default permissions 2017-07-22 12:09:36 +09:30
Toby Zerner
dca1a833ca Add back button tooltip translation 2017-07-22 12:08:43 +09:30
Toby Zerner
bf93ae652f Recompile JS 2017-07-22 12:08:17 +09:30
Toby Zerner
2516be8b22 Simplify global back button
The behaviour is not overly intuitive, and the icon wasn't helping
(hamburger icon usually means "menu"). Now the back button always goes
back to the index, no matter where you are, and there's a tooltip that
says "Back to discussion list".
2017-07-22 12:08:09 +09:30
Toby Zerner
1af83fad99 Only display "show language selector" toggle if there is more than one language 2017-07-22 11:47:50 +09:30
Toby Zerner
20006b395d Clean up appearance of Rename Discussion modal
Also fix infinite loading if there's a validation error.
2017-07-22 11:47:04 +09:30
Toby Zerner
1e2753502b Use default dropdown appearance for sort dropdown 2017-07-22 11:46:16 +09:30
Toby Zerner
aabb55e1dd Remove fa-fw class from all icons
Often it is desirable to NOT have this class applied, and it is easier
to apply its styles if needed rather than un-apply it.
2017-07-22 11:45:42 +09:30
Toby Zerner
7200bdbcb5 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
904f3f037c 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
dcd875d89b Add a new migration helper for adding default permissions 2017-07-22 11:40:06 +09:30
Toby Zerner
e3a5e7eb8d 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
Toby Zerner
73df696778 v0.1.0-beta.7 2017-07-22 10:35:50 +09:30
Toby Zerner
5daa273bd9 Change rename discussion translation 2017-07-22 10:27:27 +09:30
Toby Zerner
367423d0af Tweak permission logic
Restricted tag permissions trump global permissions. If any tag is
restricted and the user has permission, then grant the permission,
regardless of global permissions.
2017-07-20 11:51:22 +09:30
Toby Zerner
aa62a88718 Change tag permission logic
Require a user to have permission for *all* of the restricted tags a
discussion has, rather than just one.

See https://github.com/flarum/flarum-ext-approval/pull/7#issuecomment-316561532
2017-07-20 11:21:19 +09:30
Toby Zerner
05fab134e9 Fix permissions not applying
The AbstractPolicy's `before` method was changed to `after` a while ago,
and this instance must've slipped through the cracks.
2017-07-20 09:48:49 +09:30
Daniël Klabbers
34af095b2a 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
David Sevilla Martín
204dedb59b Use dropdown for discussion list order input (#1191)
* Use dropdown menu for index select input

* Fix space before `:`
2017-07-17 13:40:35 +09:30
David Sevilla Martín
3c0efb3373 Show modal if # of primary/secondary tags is less than required (#41) 2017-07-15 08:28:08 +02:00
Toby Zerner
b158810233 Update "Remember Me" checkbox label 2017-07-08 22:36:34 +09:30
Toby Zerner
9dde8529eb Oops, that should be in seconds not minutes 2017-07-08 22:35:11 +09:30
Toby Zerner
62c56a71d4 Remember users forever (5 years) rather than 2 weeks 2017-07-08 22:29:26 +09:30