Commit Graph

376 Commits

Author SHA1 Message Date
Toby Zerner
f3a4174780 Truncate long tag names in tag selection modal 2015-11-25 15:45:51 +10:30
Toby Zerner
f199170054 Fix last commit 2015-11-21 15:14:53 +10:30
Toby Zerner
19e40f76fe Properly overflow tag selection input 2015-11-21 15:11:27 +10:30
Toby Zerner
fdd837ae7e Use correct setting keys 2015-11-20 12:38:20 +10:30
Toby Zerner
56460a057f Fix diff link 2015-11-05 16:40:39 +10:30
Toby Zerner
8d6a44ff95 Release v0.1.0-beta.4 2015-11-05 16:36:16 +10:30
Toby Zerner
3cc5be1270 Add back button icon 2015-11-03 15:59:47 +10:30
Toby Zerner
4d558c0b29 Release 0.1.0-beta.3 2015-11-03 10:04:05 +10:30
Toby Zerner
478bfe4b40 Translations are now automatically included 2015-11-02 18:53:14 +10:30
Toby Zerner
d2c96287d4 Update ItemList API 2015-11-01 09:38:54 +10:30
Toby Zerner
42d87d2b48 Add lib translations 2015-10-31 18:20:11 +10:30
Toby Zerner
2c94819144 Reduce length of slug field to prevent error when creating unique index 2015-10-31 18:19:45 +10:30
Toby Zerner
c371fe764b Update API relationship serializer/listener 2015-10-30 11:07:20 +10:30
Toby Zerner
9e725ca48a Recompile JS 2015-10-27 12:40:35 +10:30
Toby Zerner
6dbdd7d657 Recompile JS 2015-10-27 12:17:44 +10:30
Toby Zerner
2b49987ff3 i18n: Use new translation strings
closes flarum/core#527
2015-10-24 12:27:53 +10:30
dcsjapan
2dccb299a0 Reorganize key names
See [flarum/core #265](https://github.com/flarum/core/issues/265).

- Adjusts key names to three-tier namespacing.
- Extracts previously unextracted strings.
- Code fix needed in DiscussionTaggedPost.js before this can be used.
2015-10-23 10:01:44 +09:00
Toby Zerner
117fc7d46b Change app.trans calls to app.translator.trans calls 2015-10-21 10:30:09 +10:30
Toby Zerner
bf04dba33e Enforce unique slugs
closes flarum/core#393
2015-10-19 16:50:19 +10:30
Toby Zerner
244b8fd132 Add Interface suffix to SettingsRepository 2015-10-19 14:59:26 +10:30
Toby Zerner
37fac5a0d4 Update translation IDs 2015-10-16 12:42:40 +10:30
Toby Zerner
76eaf8cb2d Refactor tag sorting algorithm
closes flarum/core#325
2015-10-14 17:04:17 +10:30
Toby Zerner
eb49e1d4e8 Update references to forum. permissions
ref flarum/core#425
2015-10-14 16:12:10 +10:30
Toby Zerner
67c1d79c5c Initialise component state in init() instead of constructor 2015-10-13 16:59:23 +10:30
Toby Zerner
1d5a118951 Update metadata, fix admin settings link 2015-10-12 15:02:11 +10:30
Toby Zerner
5bae959353 Update API, add default translations 2015-10-11 22:23:06 +10:30
Toby Zerner
afc383d443 Fix typos in description 2015-10-11 17:42:41 +10:30
Toby Zerner
d9fde337e3 Rename initializer 2015-10-11 13:01:33 +10:30
Toby Zerner
4a85063702 Move gitignore rules 2015-10-11 11:44:59 +10:30
Toby Zerner
2b85b1bf12 Add more info to composer.json 2015-10-11 11:18:05 +10:30
Toby Zerner
ccc1b02991 Fix migration namespace 2015-10-11 10:04:40 +10:30
Toby Zerner
a351c2ef3c Update APIs, clean up 2015-10-08 23:02:41 +10:30
Toby Zerner
ce0f77d858 Don't require composer installers 2015-10-08 16:54:33 +10:30
Toby Zerner
55c53677e5 Remove unnecessary information from composer.json 2015-10-03 17:36:08 +09:30
Toby Zerner
4b923722be Add vendor prefix to admin JS too 2015-10-03 17:35:55 +09:30
Toby Zerner
d6b829414c Merge branch 'composer' 2015-10-03 17:11:17 +09:30
Toby Zerner
0f57f27685 Add compiled scripts 2015-10-03 16:51:49 +09:30
Toby Zerner
e824f5ebf7 Update for composer branch 2015-10-03 16:51:29 +09:30
Toby Zerner
6bf47adb14 Remove English translations
They're now in flarum/english.
2015-10-03 16:51:05 +09:30
Toby Zerner
9bb30a1cc3 Add vendor to JS namespace 2015-10-03 16:48:37 +09:30
Toby Zerner
5c46e03750 Use new BuildClientView API 2015-10-03 16:44:20 +09:30
Toby Zerner
b9e2f8e660 Fix slug unique rule 2015-09-24 08:45:53 +09:30
Daniel Klabbers
144e9333ea added slug validation 2015-09-23 23:42:12 +02:00
Toby Zerner
fc1580122c Update for discussion list padding change 2015-09-22 19:30:06 +09:30
Toby Zerner
79d664750b Update for hidden discussions feature, new Flags extension 2015-09-22 18:27:02 +09:30
Toby Zerner
1bf1403f82 Add permission grid icon 2015-09-22 18:01:26 +09:30
Toby Zerner
3146e9bc03 SettingsRepository is a default dep for migrations now 2015-09-18 13:30:52 +09:30
Toby Zerner
790bf44a98 Use SettingsModal component 2015-09-18 13:30:21 +09:30
Toby Zerner
023f946720 Add option to set tags as default route 2015-09-17 12:57:47 +09:30
Toby Zerner
f214d32f2f Add gitattributes 2015-09-17 09:08:24 +09:30
Toby Zerner
d6d1fc482d Namespace migrations 2015-09-17 09:08:19 +09:30
Toby Zerner
c762caa921 Give tags item explicit opacity
Since core now makes all DiscussionListItem-info items faded by default.
2015-09-14 15:19:50 +09:30
Franz Liedke
48f232509b Do not extend newly removed class
Related to flarum/core#118.
2015-09-09 09:06:21 +02:00
Toby Zerner
a8e25ac27b Temporary fix for permissions bug
See flarum/core#425
2015-09-04 14:10:12 +09:30
Toby Zerner
61053878d5 Don't use phpcs cache 2015-09-04 12:28:19 +09:30
Toby Zerner
fce9fab67c Rename LICENSE 2015-09-04 12:28:10 +09:30
Toby Zerner
0d56eafcbf Update npm dependency 2015-09-04 12:07:29 +09:30
Toby Zerner
47cc0628f1 Update flarum.json 2015-09-04 11:47:39 +09:30
Toby Zerner
87c24970c6 Add copyright 2015-09-04 11:34:54 +09:30
Toby Zerner
5e725839b0 Scope Report and empty discussion visibility by tag 2015-09-04 11:34:23 +09:30
Toby Zerner
0477cc0346 Use more intuitive permission description 2015-09-04 11:31:27 +09:30
Toby Zerner
b0d94dcb95 Fix JSX linting 2015-09-04 11:30:49 +09:30
Toby Zerner
80e1cd841d Remove redundant options from editorconfig 2015-09-04 11:30:21 +09:30
Toby Zerner
86116c575b Set up phpcs and Travis 2015-09-04 11:29:58 +09:30
Toby Zerner
74f47c58c7 Make sure "restrict by tag" dropdown doesn't go off-screen 2015-08-31 16:13:27 +09:30
Toby Zerner
67f56d44f4 Fix tags not draggable in some instances
closes flarum/core#341
2015-08-31 14:37:08 +09:30
Toby Zerner
6db544abb1 Prevent error when saving tag without isHidden attribute
closes flarum/core#289
2015-08-31 13:54:28 +09:30
Toby Zerner
b286ff82e0 Make "Choose Tags" link translatable
closes flarum/core#345
2015-08-31 10:56:08 +09:30
Toby Zerner
fc2025bf44 Correct translation 2015-08-30 10:09:17 +09:30
Franz Liedke
b290161ef4 Make sure query filter works with database prefix, too.
Related to flarum/core#269.
2015-08-29 23:08:36 +02:00
Franz Liedke
7b24c82f6f Make Tags item translateable 2015-08-29 21:53:37 +02:00
Olivier Barbier
66416bbeb3 Fix last_time type 2015-08-28 16:00:04 +02:00
Toby Zerner
845a8bbcd8 Fix discussion composer not submitting 2015-08-27 23:32:06 +09:30
Toby Zerner
cf6e2dd4ef Show tag selection modal after submitting discussion 2015-08-26 09:34:12 +09:30
Toby Zerner
190714b658 Fix Laravel 5.1 compat 2015-08-18 14:45:38 +09:30
Toby Zerner
025b6f775c Use better selectors for the faded text 2015-08-17 15:44:11 +09:30
Toby Zerner
024349d418 OK, fade out that text a bit 2015-08-17 15:42:04 +09:30
Toby Zerner
1d567ad750 Make tag tile text completely opaque
Setting opacity on Safari makes text unreadable due to weird
antialiasing issues
2015-08-17 15:20:18 +09:30
Toby Zerner
99260f6e0a Support table prefix 2015-08-14 12:56:21 +09:30
Toby Zerner
af3446085c Update migrations, create default tag/settings 2015-08-14 12:56:05 +09:30
Toby Zerner
6255e7c03b New look for Tags page 2015-08-13 12:53:23 +09:30
Toby Zerner
658896eeb1 Add permission setting for editing tags 2015-08-13 12:52:43 +09:30
Toby Zerner
ee87ada0af Allow tags to be hidden from All Discussions 2015-08-13 12:52:20 +09:30
Toby Zerner
19ebd19000 Use new listen API 2015-08-13 12:51:40 +09:30
Toby Zerner
327b65912e Add icon 2015-08-13 12:51:32 +09:30
Toby Zerner
65ba1aa6b3 Include tags last discussion relationship when creating
So that it updates in the client
2015-08-05 19:26:15 +09:30
Toby Zerner
3e6ef151d1 Float tags to the right on the user page as well 2015-08-05 16:08:00 +09:30
Toby Zerner
a042f04fa3 Enforce min/max tag count settings 2015-08-04 13:04:22 +09:30
Toby Zerner
92e9b5b414 Don't uppercase child tags 2015-08-04 10:56:37 +09:30
Toby Zerner
0718d2159e Improve tag tile text contrast 2015-08-04 10:50:07 +09:30
Toby Zerner
f7068cd6d3 Add extension settings shortcut 2015-08-03 12:03:42 +09:30
Toby Zerner
9da35b78a4 Add bower dependency 2015-08-02 17:56:08 +09:30
Toby Zerner
30bfc343ae Add API endpoints and admin page to manage tags 2015-08-02 17:28:36 +09:30
Toby Zerner
d0f9115dea Extend admin permissions page to allow restriction by tag
Also fix a couple of bugs:
- Tag sorting algorithm bug in Safari
- Ensure subtag is removed when parent is removed
2015-07-31 20:19:34 +09:30
Toby Zerner
d63b442227 Add translation for deleted tags 2015-07-29 09:29:50 +09:30
Toby Zerner
5ba4934105 Prevent crash when rendering deleted tag 2015-07-29 09:27:00 +09:30
Toby Zerner
51558e2b3b Change modal dialog title. closes flarum/core#179 2015-07-28 13:35:47 +09:30
Toby Zerner
2bbfc0b25f Fix tag filter 2015-07-27 16:17:07 +09:30
Toby Zerner
8a1e4b2f30 Update gulp module configuration 2015-07-27 14:19:57 +09:30
Toby Zerner
d8cb3c7605 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:52 +09:30
Toby Zerner
3192ef4fe3 Make tags look better in dark mode 2015-07-24 10:05:57 +09:30
Toby Zerner
670218d267 Stop propagation when clicking on tag child 2015-07-22 16:01:24 +09:30
Toby Zerner
180b87c71e Update for new extension API; implement i10n 2015-07-22 10:15:25 +09:30
Franz Liedke
b799e3bc69 Change theme color based on tag color 2015-06-27 19:13:21 +02:00
Toby Zerner
7d38f0880e Add title attribute to linked tag labels 2015-06-26 12:22:39 +09:30
Toby Zerner
8ba856df79 Update gambit for search API 2015-06-26 12:22:08 +09:30
Toby Zerner
e41e50f423 Improve appearance of tags page. closes #4 2015-06-25 15:43:24 +09:30
Toby Zerner
0389ea53de Update for discussion controls API 2015-06-25 15:40:15 +09:30
Toby Zerner
7e99bcd555 Update for discussion list refactoring 2015-06-25 08:01:51 +09:30
Toby Zerner
7a75e424d7 Don't need that! 2015-06-24 11:48:22 +09:30
Toby Zerner
1acfb19800 Make stuff responsive. closes #6 2015-06-24 11:48:15 +09:30
Toby Zerner
1ea91dc707 Reduce discussion list padding 2015-06-19 20:57:49 +09:30
Toby Zerner
d0f72fb05d Fix up sorting of children in the tag selection list 2015-06-19 18:19:13 +09:30
Toby Zerner
c04e2e3db2 Show full description in tooltip 2015-06-19 17:48:59 +09:30
Toby Zerner
f519a2740b Bad text! No wrap! 2015-06-19 17:43:54 +09:30
Toby Zerner
537741dd5a Only show tags that exist in the tags label 2015-06-19 17:28:21 +09:30
Toby Zerner
0d1d61922f Reverse tag visibility logic
So that discussions with non-existent tags are still visible
2015-06-19 17:26:46 +09:30
Toby Zerner
6aff8ebca5 Don't color the hero if the tag doesn't have a color 2015-06-19 17:26:01 +09:30
Toby Zerner
82f487c4bb Don't destroy discussion list in case of a redraw 2015-06-19 14:35:01 +09:30
Toby Zerner
b2d2bfa34e Correctly style uncolored tags in discussion hero 2015-06-19 14:22:15 +09:30
Toby Zerner
37c0b91614 Update tag metadata when posts are altered 2015-06-19 11:17:43 +09:30
Toby Zerner
d91f208b1e Don't show tag cloud if empty 2015-06-19 11:17:07 +09:30
Toby Zerner
cf89af4266 Also update tag last discussion info 2015-06-19 09:07:19 +09:30
Toby Zerner
d656d0ddb5 Keep tag discussions_count up-to-date 2015-06-19 08:18:27 +09:30
Toby Zerner
9c047485f0 Add routes to server 2015-06-18 17:44:02 +09:30
Toby Zerner
59736524e0 Update APIs 2015-06-18 12:46:02 +09:30
Toby Zerner
d4f15858ca Use new event name 2015-06-17 12:48:22 +09:30
Toby Zerner
a31582de5a Fix tag tiles border-radius 2015-06-16 21:58:38 +09:30
Toby Zerner
5345a1ef9e Per-tag permissions!
Pretty easy to implement with the groundwork I’ve done for permissions.
(All the logic is in TagsServiceProvider currently)
2015-06-16 21:58:18 +09:30
Toby Zerner
f3f0684eee Add dedicated tags page 2015-06-15 12:21:08 +09:30
Toby Zerner
ed2fb779e6 Allow non-pinned tags to be colored 2015-06-15 12:20:49 +09:30
Toby Zerner
85d7dc8752 Add new fields, include tags on the new forum API action 2015-06-15 12:20:26 +09:30
Toby Zerner
d5b1d3bdb2 Don't show tags label if there are no tags to show 2015-06-15 12:16:41 +09:30
Toby Zerner
bec1f73c36 Add event post when a discussion's tags are changed 2015-06-15 09:00:30 +09:30
Toby Zerner
e3b26b48a9 New tag selection modal when composing a discussion
Also numerous bug fixes. Still WIP
2015-06-12 16:43:41 +09:30
Toby Zerner
c9a03d9d8a Rename extension to Tags. Allow multiple tags per discussion.
WIP!
2015-06-11 18:34:48 +09:30
Toby Zerner
f569d00314 Update manifest. 2015-06-08 15:05:22 +09:30
Toby Zerner
6f50614855 Update manifest. 2015-06-08 14:58:08 +09:30
Toby Zerner
1abc0e2a75 Use new flarum-gulp package. 2015-06-08 14:57:47 +09:30
Toby Zerner
0b12752be3 Make the category in the discussion hero a link 2015-06-03 18:03:16 +09:30
Toby Zerner
39c7dd5165 Sort the categories list in the sidebar correctly 2015-05-30 14:59:14 +09:30
Toby Zerner
45c4cffeea Load category when getting notifications 2015-05-30 13:58:37 +09:30
Toby Zerner
8bb8122283 Update for new post stream 2015-05-29 18:22:36 +09:30
Toby Zerner
6e470b0c43 Compatibility with core skin changes; allow skin to customize labels 2015-05-21 13:11:09 +09:30
Toby Zerner
7ab72a5f28 Fix for new activity API 2015-05-21 06:49:27 +09:30
Toby Zerner
cfb6ad7902 Update for new activity API 2015-05-20 12:31:07 +09:30
Toby Zerner
72a676ddfd Update for new notifications API 2015-05-20 12:30:57 +09:30
Toby Zerner
736824d45c Rename JS sub-components so that descriptors are before the noun, not after 2015-05-18 18:50:50 +09:30
Toby Zerner
c99055c6a3 Rename ActivityPost to EventPost 2015-05-18 18:47:49 +09:30
Toby Zerner
73c101b075 props method just modifies props now, doesn't need to return 2015-05-18 15:28:04 +09:30
Toby Zerner
3936cc4e23 Implement "move" permission 2015-05-18 13:51:58 +09:30
Toby Zerner
6794d8794f Remove unneeded dependency 2015-05-18 10:31:40 +09:30
Toby Zerner
33ba3409d1 Update for new extension API 2015-05-17 10:20:02 +09:30
Toby Zerner
df7552765b Include category in the discussion list request 2015-05-15 17:07:12 +09:30
Toby Zerner
fccb0ad608 Make category label padding adapt to its size 2015-05-14 22:42:07 +09:30
Toby Zerner
11fcfbba58 Update notification architecture 2015-05-14 22:41:51 +09:30
Toby Zerner
32efe11986 Use new discussion request include API 2015-05-14 22:41:37 +09:30
Toby Zerner
bbe863d401 Assume a Flarum\Support\ServiceProvider context in bootstrap.php 2015-05-11 10:42:20 +09:30
Toby Zerner
ce2e90ecf9 Add missing fields to migration. Closes #1 2015-05-11 10:37:02 +09:30
Toby Zerner
9d6c5b9caa Change appearance of category label in discussion hero 2015-05-11 10:35:01 +09:30
Toby Zerner
9705497801 Add license 2015-05-07 22:26:07 +09:30
Toby Zerner
1d450d6695 Show categories in columns in modal 2015-05-07 14:11:00 +09:30
Toby Zerner
9661aacdee Fix moving discussions from uncategorized 2015-05-07 09:20:19 +09:30
Toby Zerner
2fa694fe3d Only merge posts if same user 2015-05-07 06:39:20 +09:30
Toby Zerner
4bf5f91c06 Change category label appearance 2015-05-07 06:39:05 +09:30
Toby Zerner
a38efe6e90 Use absolute autoload path 2015-05-06 12:13:40 +09:30
Toby Zerner
d1b4068121 Cleanup 2015-05-06 11:21:26 +09:30
Toby Zerner
97dd5bb795 Add uncategorized filter, enable gambit to parse multiple categories 2015-05-06 11:21:23 +09:30
Toby Zerner
bf87662511 Add a notification preference 2015-05-06 08:29:49 +09:30
Toby Zerner
7ec714af82 Update post/notification components 2015-05-05 17:31:42 +09:30
Toby Zerner
11804b3306 Only say a discussion was moved if it already exists 2015-05-05 17:08:11 +09:30
Toby Zerner
14dbd5381c JS cleanup/refactor 2015-05-05 17:07:58 +09:30
Toby Zerner
f873fd0600 Return the provider so core can store a reference to it 2015-05-05 17:07:36 +09:30
Toby Zerner
840cc84724 Refactor using new base ServiceProvider 2015-05-05 14:31:05 +09:30
Toby Zerner
360402c5b1 Cleanup, add discussion moved notification 2015-05-05 11:45:31 +09:30
Toby Zerner
5919d16edf Initial commit 2015-05-05 08:39:24 +09:30