Commit Graph

467 Commits

Author SHA1 Message Date
Toby Zerner
2dac4d075d Database changes (#53)
* Implement database changes

* Apply fixes from StyleCI

* Update post column

* Split foreign keys into their own migrations, rename pivot tables

* Update pivot table references

* Update column name

* Update core columns

* Remove unnecessary argument

* Use whereColumn

* Update core attribute names

* Rename attributes
2018-09-16 20:51:51 +02:00
Franz Liedke
dd1f2d46fd Ensure compatibility with DB table prefix 2018-08-03 01:21:58 +02:00
Franz Liedke
dfaf1bad09 Use Frontend extender for registering forum routes 2018-07-23 16:35:30 +02:00
Franz Liedke
3129ee5b4b Use new Frontend extender
See flarum/core#851.
2018-07-23 16:34:56 +02:00
Toby Zerner
607132a68f Only do time comparison if setting is numeric 2018-07-21 18:44:44 +09:30
Toby Zerner
2dd8514d62 Reduce tag description font size
ref flarum/core#1488
2018-07-20 11:42:19 +09:30
Toby Zerner
5318865a51 Maintain "Start a discussion" button width on tags page
fixes flarum/core#1487
2018-07-20 11:41:21 +09:30
Toby Zerner
2c6a2b2d70 Webpack (#52)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Maintain partial compatibility API (importing from absolute paths) for extensions
* Restructure `less` directory
2018-06-20 13:31:45 +09:30
Franz Liedke
3718d5dcec Get rid of obsolete ControllerInterface
See flarum/core#1443.
2018-05-30 09:55:11 +02:00
Franz Liedke
392ae3db0a Remove unnecessary parameter in migration closure 2018-05-30 09:52:56 +02:00
Toby Zerner
2b3e925cf9 Merge pull request #50 from clarkwinkelmann/use-page-component
Use page component for tags page
2018-05-25 07:45:30 +09:30
Clark Winkelmann
e029cdff87 Fix history usage (introduces new translation) 2018-05-24 18:50:54 +02:00
Clark Winkelmann
a7ebbf1035 Use Page component for Tags page 2018-05-24 18:50:11 +02:00
Clark Winkelmann
69057183e0 Remove unused color variable 2018-05-24 18:18:39 +02:00
Franz Liedke
95b2b80d17 Merge pull request #49 from afrastgeek/master
Change fa icon prefix to fas
2018-05-10 21:20:17 +02:00
Ammar Fadhlur Rahman
21443d95b4 Change fa icon prefix to fas 2018-05-10 15:06:30 +07:00
Charlie
0f75139a51 Fix ordering bug
If an empty request is sent to the /tags/order endpoint, all tags
would get moved to secondary tags.
2018-03-19 22:49:25 +01:00
Franz Liedke
8d74b40e49 Please StyleCI 2018-03-18 22:36:10 +01:00
Arseny Sysolyatin
7ae7603342 Implement negation for tag gambit
Closes #42.
2018-03-18 20:31:18 +01:00
AFR
5506b3f76f Adapt to FontAwesome v5.0.6 icon name changes (#47) 2018-02-23 23:46:24 +01:00
Franz Liedke
4bede59dfc Adapt comment for flarum/core#875 2018-02-11 16:41:23 +01:00
Franz Liedke
ab9877cc3b Use Routes extender 2018-02-08 18:34:40 +01:00
Franz Liedke
7667b80bf7 Flatten logic
With an early return, the method becomes more readable, and the
actual (very small) change from #46 becomes more apparent.
2018-02-08 17:14:28 +01:00
Toby Zerner
26483cc0c5 Realign tags in discussion list 2018-02-06 17:24:09 +10:30
Daniël Klabbers
71850db995 Merge pull request #46 from michaeldalyuk/master
Fix issue #1249 and do not show or count private discussions in Tags …
2018-02-02 07:03:07 +01:00
Michael Daly
f7b5b7d21d Fix issue #1249 and do not show or count private discussions in Tags summary. 2018-02-01 23:06:41 +00:00
Toby Zerner
8060bb78ac Merge branch 'master' into visibility-scoping 2018-01-27 09:26:14 +10:30
Franz Liedke
b1ed9d4d1d Extender: List all assets explicitly 2018-01-21 21:11:06 +01:00
Franz Liedke
ad07d7570f Fix order of imports 2018-01-17 08:27:57 +01:00
Franz Liedke
dd9907a26b Adapt new bootstrap format, use Asset extender 2018-01-16 23:20:25 +01:00
Toby Zerner
5931decedf Merge pull request #45 from milescellar/patch-1
Update license year range to 2018
2018-01-16 15:30:18 +10:30
Miles Cellar
251d986bfb Update license year range to 2018 2018-01-15 19:38:25 +01:00
Toby Zerner
2e6eda3ed1 Update policy method name
See flarum/core@ae2e07e94c
2018-01-11 14:11:57 +10:30
Toby Zerner
77d33c8604 Update for visibility scoping API changes in core 2018-01-11 12:35:59 +10:30
Toby Zerner
60845eeee7 Use *Raw methods instead of Expression 2018-01-11 12:32:09 +10:30
Toby Zerner
608e42e616 Require beta 8 2018-01-11 12:29:53 +10:30
Toby Zerner
3934f12b48 Fix docblock 2017-12-27 16:07:25 +10:30
Toby Zerner
d96cff6332 Fix class names 2017-12-27 16:07:21 +10:30
Toby Zerner
b4bc534028 Upgrade to Laravel 5.5 2017-12-27 07:32:21 +10:30
Toby Zerner
8b843a9eb3 Fix class names 2017-12-27 07:31:26 +10:30
Toby Zerner
ccd1aff156 Merge branch 'master' into next-back 2017-12-27 07:09:40 +10:30
Toby Zerner
89f417097b Performance: Load only basic information about lastDiscussion 2017-11-11 22:40:48 +10:30
Toby Zerner
6a21d292c5 Performance: Eager load parent tags 2017-11-11 22:40:22 +10:30
Toby Zerner
e3e7da3f52 Add class to IndexPage when viewing a tag 2017-10-25 20:23:06 +10:30
Franz Liedke
0b5a9d59ba Fix class names 2017-10-03 19:44:53 +02:00
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
Franz Liedke
e85f4122ee Remove obsolete import 2017-07-27 00:27:48 +02:00
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
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