Commit Graph

455 Commits

Author SHA1 Message Date
Franz Liedke
dcf814fb12 Remove an obsolete method extension
This method hasn't existed in a while, and its purpose (including
the related tags when loading a discussion via API) has already
been achieved by extending the backend.
2020-06-26 14:43:11 +02:00
Alexander Skvortsov
9d2f0c9125 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:30:05 -04:00
flarum-bot
f5ced81aa2 Bundled output for commit 274f31b6bf [skip ci] 2020-05-31 16:40:43 +00:00
Alexander Skvortsov
274f31b6bf Fix tag selection input on discussion modal going out of screen (#83)
Calculate width of input field dynamically based on content, this fixes the bug by only shifting tags out of view when necessary
2020-05-31 12:39:42 -04:00
flarum-bot
cda9ed9fca Bundled output for commit 94799aad72 [skip ci] 2020-05-31 15:55:42 +00:00
Charlie
94799aad72 Fix buggy drag and drop (#82)
Switch to the SortableJs library to fix the buggy tags drag-and-drop admin UI.
2020-05-31 11:54:52 -04:00
Alexander Skvortsov
713efcfa3c Increase Tags Visibility Scoping Extendability (#79)
Allow extensions to override tags scoping visibility based on viewDiscussions permission
2020-05-19 17:49:39 -04:00
Daniël Klabbers
74e02b6a3c Release v0.1.0-beta.13 2020-05-04 10:48:54 +02:00
Franz Liedke
c2e7a5413c Update Webpack for real 2020-05-01 12:04:03 +02:00
flarum-bot
166b976f86 Bundled output for commit 37e8469de7 [skip ci] 2020-05-01 09:59:24 +00:00
Franz Liedke
37e8469de7 Update Webpack 2020-05-01 11:56:52 +02:00
flarum-bot
3f5f3320a9 Bundled output for commit 80e32594e2 [skip ci] 2020-04-24 20:30:18 +00:00
Alexander Skvortsov
80e32594e2 Disable "Start Discussion" button for restricted tags (#74)
Also, change the label when the button is disabled.
2020-04-24 22:29:16 +02:00
Franz Liedke
649f71d25a Use new Model extender 2020-04-24 15:56:27 +02:00
flarum-bot
f022018be3 Bundled output for commit 751c14c889 [skip ci] 2020-04-24 12:33:10 +00:00
Franz Liedke
751c14c889 npm audit fix 2020-04-24 14:30:31 +02:00
flarum-bot
ae5bf9203e Bundled output for commit 7458813d59 [skip ci] 2020-03-20 07:22:19 +00:00
Andreas Jacobsen
7458813d59 Update addTagList.js 2020-03-20 08:21:19 +01:00
Andreas Jacobsen
e8dd756345 Allow extensions to place items between tags link and tags list
This PR sets the priority of the tags list to -12, to allow placing a menu link on -11 between the link and the list.

Issue here: https://github.com/flarum/core/issues/1923
2020-03-20 08:21:19 +01:00
dependabot[bot]
38f6ce3294 Bump acorn from 6.4.0 to 6.4.1 in /js (#77)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:23:40 +01:00
flarum-bot
d9dfc15a96 Bundled output for commit 54f1ec008d [skip ci] 2020-03-06 19:39:36 +00:00
Franz Liedke
54f1ec008d Tweak translation keys
Refs #72.
2020-03-06 20:38:44 +01:00
flarum-bot
38174cfa2b Bundled output for commit 6117c1231a [skip ci] 2020-03-06 16:53:22 +00:00
Alexander Skvortsov
6117c1231a Add title and description meta tags (#72) 2020-03-06 17:52:30 +01:00
Ian Morland
c2f8aeeecc Improve performance of subqueries (#75) 2020-03-06 15:12:34 +01:00
Daniël Klabbers
aa6ace8699 changelog for beta 12 2020-03-03 14:59:14 +01:00
Daniël Klabbers
c46edb0223 update deps, remove author 2020-03-03 14:59:01 +01:00
flarum-bot
45d1b57522 Bundled output for commit 9a17784600 [skip ci] 2020-02-26 10:42:17 +00:00
David Sevilla Martin
3d71f6451a Fix regressions from #73 and #68, align things better in modal 2020-02-25 18:57:38 -05:00
flarum-bot
ed7622ee2d Bundled output for commit 8dc47fac11 [skip ci] 2020-02-24 12:52:37 +00:00
Moritz Stückler
5bcc9ff3f1 fix: icon aligment for tag icons 2020-02-13 14:56:46 +01:00
Daniël Klabbers
96b8a97484 Merge pull request #68 from flarum/dk/1805-selected-tags
fixes showing which tags are selected
2020-01-21 13:57:03 +01:00
Daniël Klabbers
de7715168a prevent lingering permissions when unrestricting (#65)
Whenever a tag is no longer being restricted, a permission entry in
group_permission lingers around for `viewDiscussions`. This commit
removes all permissions configured after you stop restricting them.

Co-authored-by: Franz Liedke <franz@develophp.org>
2020-01-13 22:11:41 +01:00
flarum-bot
b2dffe6a0d Bundled output for commit b966918fab [skip ci] 2020-01-10 09:32:25 +00:00
Franz Liedke
b966918fab Update Webpack 2020-01-10 10:31:17 +01:00
Franz Liedke
1782e19b57 Apply fixes from StyleCI 2020-01-07 23:47:56 +00:00
Matt Kilgore
a539eb9355 Change Zend to Laminas (#71) 2020-01-08 00:47:46 +01:00
Franz Liedke
fc787924de Apply fixes from StyleCI 2019-11-29 23:02:40 +00:00
Franz Liedke
4e2dffb2fb Update copyright claims in LICENSE 2019-11-30 00:01:04 +01:00
Daniel Klabbers
c730578a76 v0.1.0-beta.11 changelog 2019-11-26 16:31:25 +01:00
Daniël Klabbers
8ddc329d2a fixes showing which tags are selected 2019-11-20 15:03:06 +01:00
Daniël Klabbers
766c925115 cleaned up the Tag model and obsoleted/unused property 2019-10-07 14:16:10 +02:00
flarum-bot
072a60cef7 Bundled output for commit e59c54eae0 [skip ci] 2019-10-02 00:04:03 +00:00
David Sevilla Martín
e59c54eae0 Fix tag change event posts with deleted tags erroring (#66)
Fixes #1864
2019-10-02 02:02:45 +02:00
Daniël Klabbers
7832c7c48c updated requirement with flarum/core 2019-09-16 09:30:46 +02:00
Franz Liedke
b270f80df8 Update changelog for beta.10 2019-09-15 22:43:23 +02:00
Franz Liedke
12c73c048d Update vulnerable JS dependencies 2019-09-13 15:27:47 +02:00
David Sevilla Martín
ebf8345dba Add view & frontend documents for tags & tag discussion list (#64)
Refs flarum/core#1820.
Fixes flarum/core#1134.
2019-09-10 20:34:07 +02:00
Daniël Klabbers
d403bedab3 fix phpdoc for marked_as_read_at which was migrated 2019-08-27 13:35:28 +02:00
Franz Liedke
a330d07dfe Add GitHub workflow for JavaScript building 2019-08-20 23:54:27 +02:00
flarum-bot
d43e071a99 Bundled output for commit 8ef1d3bdea [skip ci] 2019-07-07 15:24:34 +00:00
David Sevilla Martín
8ef1d3bdea Fix default value for useColor overriding falsy values (#63)
This would make the 'useColor' setting irrelevant as it would always be true.
Error is noticeable in the discussion list when the icons are the same color as the tag background
2019-07-07 17:23:22 +02:00
flarum-bot
7dd69e119e Bundled output for commit cca3486a68 [skip ci] 2019-07-01 19:18:09 +00:00
Franz Liedke
cca3486a68 Use a positive setting name to avoid double negatives 2019-07-01 21:15:00 +02:00
Daniël Klabbers
e48b392122 Update composer.json
updated constraint for beta 9
2019-06-25 00:03:35 +02:00
Daniël Klabbers
f03d34d16b Merge branch 'master' of github.com:flarum/tags 2019-06-24 13:35:08 +02:00
Daniël Klabbers
c37e38363e changelog for 0.1.0-beta.9 2019-06-24 13:34:38 +02:00
flarum-bot
04e82ffb5b Bundled output for commit 8a193d7c86 [skip ci] 2019-06-24 09:19:09 +00:00
Daniël Klabbers
8a193d7c86 updated changelog 2019-06-24 11:17:42 +02:00
Daniël Klabbers
b895659556 Updated edit tag modal to use appropriate lang-english keys 2019-06-24 11:17:30 +02:00
Daniël Klabbers
85158dc34f Merge pull request #58 from datitisev/1232-tag-exclusion-subscription
Do not hide tags from Following (subscriptions)
2019-06-24 11:06:30 +02:00
flarum-bot
a446082da7 Bundled output for commit bb2f691e75 [skip ci] 2019-06-24 09:02:40 +00:00
Daniël Klabbers
bb2f691e75 Merge pull request #60 from NomisCZ/master
Add custom icon functionality
2019-06-24 11:01:25 +02:00
Franz Liedke
49b71511d3 Apply fixes from StyleCI 2019-06-12 23:33:41 +00:00
Franz Liedke
a1c18b4e0f Update changelog 2019-06-13 01:32:33 +02:00
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