Commit Graph

3658 Commits

Author SHA1 Message Date
Toby Zerner
9b920daefa Initial commit 2015-08-04 17:19:17 +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
e07ef5fc02 Make badge colors consistent with button color 2015-08-03 11:59:57 +09:30
Toby Zerner
9da35b78a4 Add bower dependency 2015-08-02 17:56:08 +09:30
Toby Zerner
6ec79d133a Change badge icon color 2015-08-02 17:38:29 +09:30
Toby Zerner
30bfc343ae Add API endpoints and admin page to manage tags 2015-08-02 17:28:36 +09:30
Toby Zerner
637e3abfc9 PERF: Cache emojified post content 2015-07-31 20:32:49 +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
e82a50c5d7 Ensure post mention previews are clickable on mobile 2015-07-28 18:36:53 +09:30
Toby Zerner
7f05f8ab22 Fix post mention preview behaviour on mobile 2015-07-28 17:59:00 +09:30
Toby Zerner
bdcaecd856 Fix leftovers from sticky 2015-07-28 16:14:24 +09:30
Toby Zerner
cb358a9084 Update for live preview refactor 2015-07-28 16:06:37 +09:30
Toby Zerner
f6c0f22db0 Initial commit 2015-07-28 15:35:55 +09:30
Toby Zerner
145f783006 Fix notification error 2015-07-28 15:35:28 +09:30
Toby Zerner
51558e2b3b Change modal dialog title. closes flarum/core#179 2015-07-28 13:35:47 +09:30
Toby Zerner
8c7a44c9ce Add IMG bbcode 2015-07-28 10:14:11 +09:30
Toby Zerner
d27f0403d8 Make sure no likes are left behind 2015-07-27 20:02:26 +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
e112b62c24 Update gulp module configuration 2015-07-27 14:19:50 +09:30
Toby Zerner
e450a90464 Update gulp module configuration 2015-07-27 14:19:43 +09:30
Toby Zerner
30d17308ea Update gulp module configuration 2015-07-27 14:19:36 +09:30
Toby Zerner
cb08b9b76a Update gulp module configuration 2015-07-27 14:19:29 +09:30
Toby Zerner
894246806f Update gulp module configuration 2015-07-27 14:19:21 +09:30
Toby Zerner
6527868924 Update gulp module configuration 2015-07-27 14:19:11 +09:30
Toby Zerner
68b402015a Better way to override formatting util 2015-07-27 14:19:08 +09:30
Toby Zerner
fb6e301cee Update gulp module configuration 2015-07-27 14:18:46 +09:30
Toby Zerner
bb8232297f Fix following discussion list filter 2015-07-27 12:44:45 +09:30
Toby Zerner
4e73a520ea Fix oopsie 2015-07-27 12:02:34 +09:30
Toby Zerner
d8cb3c7605 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:52 +09:30
Toby Zerner
d6fe156e89 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:44 +09:30
Toby Zerner
14b8ed7236 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:35 +09:30
Toby Zerner
714ab8fca5 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:28 +09:30
Toby Zerner
a3d6cde5b6 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:21 +09:30
Toby Zerner
05cfb6af62 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:13 +09:30
Toby Zerner
c5bb8bcf6c PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:03 +09:30
Toby Zerner
608d4a1a47 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:53:55 +09:30
Toby Zerner
e536ea5d0d Temporarily remove :/ emoticon
See https://github.com/s9e/TextFormatter/issues/12
2015-07-24 13:30:06 +09:30
Toby Zerner
3192ef4fe3 Make tags look better in dark mode 2015-07-24 10:05:57 +09:30
Toby Zerner
7ac3e9fa92 Make mention formatter work in live preview 🎉 2015-07-23 20:50:41 +09:30
Toby Zerner
4d5146b829 Initial commit 2015-07-23 20:36:02 +09:30
Toby Zerner
e22c797750 Initial commit 2015-07-23 20:35:03 +09:30
Toby Zerner
c4b32f1326 Initial commit 2015-07-23 20:25:52 +09:30
Toby Zerner
3729a91be3 Update for new API 2015-07-23 16:40:54 +09:30
Toby Zerner
97ef05de20 Fix notification error 2015-07-23 16:40:41 +09:30
Toby Zerner
b300323fb7 Fix notification emails 2015-07-23 16:40:19 +09:30
Toby Zerner
0c7bd6e86d Add missing translations 2015-07-23 16:40:11 +09:30
Toby Zerner
da25882280 Update for new API + TextFormatter 2015-07-23 14:28:39 +09:30
Toby Zerner
d7ac8aac2e API includes are now required to be included by default 2015-07-23 14:27:54 +09:30
Toby Zerner
420088acc9 Add missing translation 2015-07-23 14:27:24 +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
Toby Zerner
9c384bee98 Update for new extension API; implement l10n 2015-07-22 10:15:08 +09:30
Toby Zerner
115551c9ce Group assets by client 2015-07-22 10:14:20 +09:30
Toby Zerner
4f4bc43575 Update meta 2015-07-20 18:14:52 +09:30
Toby Zerner
1ad057d4d7 Update for evented API 2015-07-20 18:14:42 +09:30
Franz Liedke
b799e3bc69 Change theme color based on tag color 2015-06-27 19:13:21 +02:00
Toby Zerner
985ccc096e Update for component API 2015-06-26 19:09:56 +09:30
Toby Zerner
5ea3579f76 Initial commit 2015-06-26 12:24:07 +09:30
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
27ed9ab636 Update gambit for search API 2015-06-26 12:21:47 +09:30
Toby Zerner
653f1dc841 Fix post content in email template 2015-06-26 12:21:30 +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
76d58ababa Give the sticky badge precedence 2015-06-25 15:40:02 +09:30
Toby Zerner
b65c1f8624 Update for discussion controls API 2015-06-25 15:39:53 +09:30
Toby Zerner
9f2393f7bb Add vendor prefix to initializer name 2015-06-25 15:39:17 +09:30
Toby Zerner
d44b2e840b Get rid of console.log 2015-06-25 10:45:42 +09:30
Toby Zerner
48ca774af9 Remove parentheses from around post number
They draw too much attention, kinda making it look like an ID or an
error code or something.
2015-06-25 10:11:46 +09:30
Toby Zerner
039606e325 Bring back sticky discussion excerpts 2015-06-25 09:58:35 +09:30
Toby Zerner
835c3eef71 Fix compatibility with tags extension 2015-06-25 09:58:11 +09:30
Toby Zerner
fb9ed378e0 Add notification preference 2015-06-25 09:57:54 +09:30
Toby Zerner
7e99bcd555 Update for discussion list refactoring 2015-06-25 08:01:51 +09:30
Franz Liedke
6ff446675d Include post number in mention notification 2015-06-24 22:46:01 +02:00
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
cf4074b3b8 Make mention previews work on touch devices 2015-06-24 11:47:30 +09:30
Toby Zerner
e53cc010e4 Add icon 2015-06-24 11:47:09 +09:30
Toby Zerner
c3cf1045b1 Add icon, move before replies 2015-06-24 11:46:58 +09:30
Toby Zerner
6596fb4734 Fix migration 2015-06-23 11:01:25 +09:30
Toby Zerner
880f3072ea Only show reply list if there are replies not adjacent 2015-06-23 10:27:42 +09:30
Toby Zerner
8bdbdeb433 Don't use hash in generated mention URLs 2015-06-23 10:27:14 +09:30
Toby Zerner
e57eb5a14f Initial commit 2015-06-23 10:25:24 +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
090e0f1e94 Link replies to their discussion to ensure we can link to them 2015-06-19 15:49:44 +09:30
Toby Zerner
80474ec544 No need to query the API about nothing 2015-06-19 15:49:20 +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
6455d03eb6 Don't include some relations by default 2015-06-18 17:44:20 +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
0892a979be Update APIs 2015-06-18 12:45:44 +09:30
Toby Zerner
867210ab64 Update APIs 2015-06-18 12:45:37 +09:30
Toby Zerner
679025095f Oops, camel case! 2015-06-17 18:22:40 +09:30
Toby Zerner
0265a2dbe3 Use truncate helper 2015-06-17 18:22:29 +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
0e774db5a0 Don't show the reply button if the user can't reply 2015-06-16 17:34:47 +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
578d8df04d Reorder Extend\Relationship arguments 2015-06-11 18:46:12 +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
35ca32a733 Update manifest. 2015-06-08 15:04:51 +09:30
Toby Zerner
8c8f2bb802 Use new flarum-gulp package. 2015-06-08 15:04:42 +09:30
Toby Zerner
0511982426 Update for new formatting API. 2015-06-08 15:04:22 +09:30
Toby Zerner
b2557e2ae9 Use new flarum-gulp package. 2015-06-08 15:04:15 +09:30
Toby Zerner
70a2bcc002 Update manifest. 2015-06-08 15:04:00 +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
eb5e74c9c9 Use core's new highlight helper 2015-06-03 18:05:41 +09:30
Toby Zerner
194de6be37 Fix error when there are no orders on the query 2015-06-03 18:05:23 +09:30
Toby Zerner
0b12752be3 Make the category in the discussion hero a link 2015-06-03 18:03:16 +09:30
Toby Zerner
5ca1c95d74 Use new replyAction promise implementation 2015-06-01 10:29:36 +09:30
Toby Zerner
39c7dd5165 Sort the categories list in the sidebar correctly 2015-05-30 14:59:14 +09:30
Toby Zerner
eb69be366a Fix mentions autocomplete not appearing after users are loaded 2015-05-30 14:00:50 +09:30
Toby Zerner
45c4cffeea Load category when getting notifications 2015-05-30 13:58:37 +09:30
Toby Zerner
d5e9ad84b8 Fix class names 2015-05-29 18:56:49 +09:30
Toby Zerner
a6e3c3c0c8 Add missing classes 2015-05-29 18:56:41 +09:30
Toby Zerner
5b323d7c08 Update for new post stream 2015-05-29 18:23:01 +09:30
Toby Zerner
c780e620c0 Fix mistake in table name 2015-05-29 18:22:51 +09:30
Toby Zerner
8bb8122283 Update for new post stream 2015-05-29 18:22:36 +09:30
Toby Zerner
67ffd8efd7 Fix error when rendering deleted user 2015-05-26 18:02:10 +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
cb1dfe1726 Remove box from excerpts again 2015-05-21 13:07:46 +09:30
Toby Zerner
7ab72a5f28 Fix for new activity API 2015-05-21 06:49:27 +09:30
Toby Zerner
ba31890aa4 Update for new notifications API 2015-05-20 12:32:17 +09:30
Toby Zerner
360b503357 Update for new notifications API, add user activity feed integration 2015-05-20 12:32:08 +09:30
Toby Zerner
ee7044615b Make sure we don't parse post mentions as user mentions 2015-05-20 12:31:35 +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
643726df43 Fix undefined variables 2015-05-19 11:23:35 +09:30
Toby Zerner
978ecd369d Email notifications. Too easy! 2015-05-19 11:02:02 +09:30
Toby Zerner
4080a76a99 Don't parse user mentions with a # ahead of them 2015-05-19 11:01:50 +09:30
Toby Zerner
2101250eaa Only notify when a post is created, not edited 2015-05-19 11:01:11 +09:30
Toby Zerner
fdc82b5273 Add notification preferences 2015-05-19 11:00:49 +09:30
Toby Zerner
2a6403a6a7 Reset original content before inserting the mention 2015-05-19 11:00:29 +09:30
Toby Zerner
ed98a18681 Rename JS sub-components so that descriptors are before the noun, not after 2015-05-18 18:50:58 +09:30
Toby Zerner
6bfecec9f2 Rename JS sub-components so that descriptors are before the noun, not after 2015-05-18 18:50:54 +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
2be7c4affc Rename ActivityPost to EventPost 2015-05-18 18:47:55 +09:30
Toby Zerner
c99055c6a3 Rename ActivityPost to EventPost 2015-05-18 18:47:49 +09:30
Toby Zerner
d4b8c9c8d7 Make excerpts look a little cooler 2015-05-18 18:14:52 +09:30
Toby Zerner
0b95fc7f81 Fix error when another user has replied to a post 2015-05-18 18:12:26 +09:30
Toby Zerner
d16a6a0a5d More defined style for sticky excerpts 2015-05-18 18:11:51 +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
349a0fc215 Sync mention metadata when a post is edited/deleted 2015-05-18 14:35:22 +09:30
Toby Zerner
0797a58eb7 Move sticky excerpts to below the category/last post info 2015-05-18 13:52:25 +09:30
Toby Zerner
3936cc4e23 Implement "move" permission 2015-05-18 13:51:58 +09:30
Toby Zerner
547b2b1304 Search for users in autocomplete popup + other tweaks
- Highlight matching parts of usernames
- Fix positioning edge cases
2015-05-18 12:24:48 +09:30
Toby Zerner
547631ac93 Fix buggy autocomplete keyboard navigation when mouse is over popup 2015-05-18 12:22:53 +09:30
Toby Zerner
8c41195223 Reposition the post mention preview after its content has loaded 2015-05-18 10:32:46 +09:30
Toby Zerner
ecb06f36c8 Insert newlines into composer before post mentions 2015-05-18 10:32:20 +09:30
Toby Zerner
6794d8794f Remove unneeded dependency 2015-05-18 10:31:40 +09:30
Toby Zerner
bd1d165355 Update for new extension API 2015-05-17 10:20:26 +09:30
Toby Zerner
f8d756d19d Update for new extension API 2015-05-17 10:20:18 +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
30d546383e Add sticky permission 2015-05-15 17:06:50 +09:30
Toby Zerner
5872e041df Hide excerpt in discussion list pane + on mobile 2015-05-14 23:14:31 +09:30
Toby Zerner
5b13acd5e3 Add excerpt to sticky discussions 2015-05-14 23:10:50 +09:30
Toby Zerner
798bdd3e68 Update notification architecture 2015-05-14 22:42:52 +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
57bb8702de Initial commit 2015-05-14 22:01:03 +09:30
Toby Zerner
55a4d4663a Assume a Flarum\Support\ServiceProvider context in bootstrap.php 2015-05-11 10:42:30 +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
3787cc413e Initial commit 2015-05-07 22:26:02 +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