1
0
mirror of https://github.com/flarum/core.git synced 2025-09-02 20:52:45 +02:00
Commit Graph

8781 Commits

Author SHA1 Message Date
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
Toby Zerner
edf693bde1 Revise Remember Me checkbox appearance
Use a generic checkbox instead of a switch — it's more familiar and accessible.

Signed-off-by: Toby Zerner <toby.zerner@gmail.com>
2017-07-08 22:25:24 +09:30
Toby Zerner
d87aa89dff Merge branch 'master' of https://github.com/flarum/core 2017-07-08 21:52:01 +09:30
Toby Zerner
53aa4b94ba Update dependencies 2017-07-08 21:50:54 +09:30
Toby Zerner
c43a940dd8 Update dependencies 2017-07-08 21:49:55 +09:30
Toby Zerner
64d349a5b6 Update dependencies 2017-07-08 21:49:27 +09:30
Toby Zerner
fb17769074 Actually no npm lockfile, at least for now
Since I tend to do `npm link gulp flarum-gulp` so I'm not sure if the lockfile is valid?
2017-07-08 21:48:36 +09:30
Toby Zerner
b3fd4d92bd Actually no npm lockfile, at least for now
Since I tend to do `npm link gulp flarum-gulp` so I'm not sure if the lockfile is valid?
2017-07-08 21:48:28 +09:30
Toby Zerner
c134843633 Actually no npm lockfile, at least for now
Since I tend to do `npm link gulp flarum-gulp` so I'm not sure if the lockfile is valid?
2017-07-08 21:48:19 +09:30
Toby Zerner
a5d79ea287 Update dependencies 2017-07-08 21:41:36 +09:30
Toby Zerner
c349e8cb54 Update dependencies 2017-07-08 21:38:57 +09:30
Toby Zerner
162eef01dd Update dependencies 2017-07-08 21:36:49 +09:30
Toby Zerner
99c62ccdb0 Fix validation of "hidden" checkbox not working 2017-07-08 21:36:30 +09:30
Franz Liedke
d28de2ba12 Flatten implementation of SelfDemotionGuard listener
Refs #736 and #1195.
2017-07-06 21:57:47 +02:00
David Sevilla Martín
a07e714f97 Prevent yourself from locking yourself out of admin group (#1195) 2017-07-06 21:43:01 +02:00