Commit Graph

510 Commits

Author SHA1 Message Date
NomisCZ
812b1f5c1b Merge branch 'master' of https://github.com/flarum/tags 2019-06-04 20:50:59 +02:00
NomisCZ
11fae08b50 Add custom icon functionality
Add database 'icon' column
Add admin modal icon field
Add icon render to TagHero, tagLabel
Change tagIcon helper functionality
2019-06-04 20:49:16 +02:00
Thomas Lang
0536d10739 if a tag does not exist, we dont want the query to crash (#61)
* if a tag does not exist, we dont want the query to crash

* incorrect solution
Revert "if a tag does not exist, we dont want the query to crash"

This reverts commit 6680e5a6e838ff9f53d338581d655671597b7bc5.

* repaired getIdForSlug function to return int or null

* changed where, removed isempty not needed
2019-06-03 12:00:23 +02:00
flarum-bot
554e906c2b Bundled output for commit c65aa52726 [skip ci] 2019-06-03 09:48:09 +00:00
David Sevilla Martín
c65aa52726 Update code to work with latest html5sortable (#62)
* Update code to work with latest html5sortable (0.9.16)

* Move forEach function callback to constant variable

* Extract inline function into method
2019-06-03 11:46:48 +02:00
Franz Liedke
6d0de4b29c Update changelog 2019-02-15 00:30:04 +01:00
flarum-bot
20f6c33113 Bundled output for commit 06b2968636 [skip ci] 2019-02-13 19:09:47 +00:00
Franz Liedke
06b2968636 Update JS dependencies to fix vulnerable packages 2019-02-13 20:08:05 +01:00
Daniël Klabbers
c18731953d revert the fix index names logic, preparing for illuminate 5.7 2019-01-15 21:00:38 +01:00
Franz Liedke
d4783f4ac5 Get rid of event subscribers that resolve services too early, part 1
Refs flarum/core#1578.
2018-12-16 15:14:00 +01:00
Toby Zerner
85bc128e4f Add changelog 2018-12-07 09:12:19 +10:30
Franz Liedke
c7c4046d03 Revert "Explicitly create tags table with InnoDB engine"
This reverts commit b8b72e51af.
2018-12-06 00:34:15 +01:00
Toby Zerner
1b78395d9a Include full last discussion info
Fixes flarum/core#1662
2018-12-05 09:05:07 +10:30
Franz Liedke
b8b72e51af Explicitly create tags table with InnoDB engine
Refs flarum/core#1675.
2018-12-04 10:20:22 +01:00
Toby Zerner
6ccb297af4 Fix travis builds 2018-12-04 10:16:33 +10:30
Franz Liedke
e2004c2dcb Migrations: Fix dropping foreign keys
Passing an array to dropForeign does not mean dropping multiple indices,
but rather dropping a key on multiple tables.

Passing a string means that this string will be interpreted as index
name, not as name of the indexed column. Passing an array with one
string is therefore correct, in order to benefit from automatic index
name generation.
2018-11-30 14:05:04 +01:00
Toby Zerner
d08bb264b4 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:34:26 +10:30
Toby Zerner
4483b7fee7 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:15 +10:30
flarum-bot
b8aebc50ca Bundled output for commit 5e77878a2f [skip ci] 2018-11-21 08:24:30 +00:00
Toby Zerner
5e77878a2f Make npm package private, update deps, change watch to dev 2018-11-21 18:46:21 +10:30
Toby Zerner
cbc6b4aa81 Remove copyright year from LICENSE 2018-11-21 18:37:21 +10:30
flarum-bot
d09070d510 Bundled output for commit 9890dc4150 [skip ci] 2018-11-17 08:29:19 +00:00
Toby Zerner
9890dc4150 Update dependencies 2018-11-17 18:53:39 +10:30
flarum-bot
8400a68e57 Bundled output for commit 98e89a0b5b [skip ci] 2018-11-15 06:08:39 +00:00
Toby Zerner
98e89a0b5b Prefix compat exports 2018-11-15 16:37:31 +10:30
flarum-bot
e2db1b6d40 Bundled output for commit 6972e7aea0 [skip ci] 2018-11-15 05:49:41 +00:00
Toby Zerner
6972e7aea0 Expose compat API on admin frontend 2018-11-15 16:18:38 +10:30
flarum-bot
1650d530e9 Bundled output for commit 4aabd35605 [skip ci] 2018-11-07 21:16:41 +00:00
Clark Winkelmann
4aabd35605 Use ItemList for EditTagModal fields (#59) 2018-11-07 22:15:31 +01:00
flarum-bot
8a99757648 Bundled output for commit ab236f3f68 [skip ci] 2018-10-21 04:53:04 +00:00
Toby Zerner
ab236f3f68 Rename package 2018-10-21 15:16:22 +10:30
Toby Zerner
3e7d3dd577 Rename package 2018-10-17 13:44:48 +10:30
David Sevilla Martín
f9744b5f98 Remove unused import 2018-10-06 08:37:28 -04:00
David Sevilla Martín
f9d50ec67d Do not hide discussions if query contains gambits 2018-10-06 08:36:39 -04:00
David Sevilla Martín
424dde9ea1 Do not hide tags from Following (subscriptions)
Closes flarum/core#1232
2018-10-05 19:52:34 -04:00
flarum-bot
73c519e3ee Bundled output for commit 7de5770d5b [skip ci] 2018-09-22 21:51:01 +00:00
Clark Winkelmann
7de5770d5b Use new newDiscussion method after core promise cleanup (#51) 2018-09-22 23:49:40 +02:00
Toby Zerner
b0a2482c87 Merge pull request #57 from flarum/tz/1419-restrict-own-permissions
Make "own" permissions depend on the user's ability to reply
2018-09-22 12:22:17 +09:30
Toby Zerner
0d316f7f0f Make "own" permissions depend on the user's ability to reply
See https://github.com/flarum/core/pull/1513
2018-09-22 12:18:40 +09:30
Toby Zerner
a58c8cd998 Rename bootstrap.php 2018-09-21 11:44:33 +09:30
flarum-bot
49c87caa16 Bundled output for commit a3e1dcc910 [skip ci] 2018-09-21 00:45:09 +00:00
Toby Zerner
a3e1dcc910 Update dependencies 2018-09-21 10:14:04 +09:30
flarum-bot
2a33d241a4 Bundled output for commit 2dac4d075d [skip ci] 2018-09-16 18:53:38 +00:00
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