1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 20:04:24 +02:00
Commit Graph

3527 Commits

Author SHA1 Message Date
Toby Zerner
63a4b34d6e Serialise tag IDs to integers rather than strings 2016-05-28 09:54:39 +09:30
Toby Zerner
823233b0da Generalise the potential for display of flags to all posts, rather than just comments
This is just more future-proofing, in case any other extensions introduce new post types which can be flagged.
2016-05-28 09:53:42 +09:30
Toby Zerner
d0c54cdbf9 Only allow OP to add tags that they can start discussions without approval in
closes flarum/core#904
2016-05-28 09:52:47 +09:30
Toby Zerner
badd03f3a3 Give the hidden/trash badge precedence over the awaiting approval badge
Given flarum/core@2d5a7ce, the hidden badge will no longer display for discussions awaiting approval – it will only display if the discussion has *actually* been marked as deleted by the OP. Thus, this information should have precedence. (There isn't much point in displaying both badges, I don't think.)
2016-05-28 09:50:45 +09:30
Toby Zerner
0bd3c16084 Generalise the potential for unapproved state to all posts, rather than just comments
This is just more future-proofing, in case any other extensions introduce new post types which can be queued for approval.
2016-05-28 09:48:17 +09:30
Toby Zerner
9f4e11097d Add actor information to the PostWasApproved event 2016-05-28 09:46:22 +09:30
Toby Zerner
ff6e674854 Give the is_approved attribute a default value on new Post models 2016-05-28 09:46:03 +09:30
Toby Zerner
cbab23a3f5 Fix bug in permission logic 2016-05-27 14:46:11 +09:30
Toby Zerner
a4a3185233 Add new translations for flarum-ext-approval 2016-05-27 14:42:31 +09:30
Toby Zerner
822e823936 Compatibility with new "required permissions" concept 2016-05-27 14:41:48 +09:30
Toby Zerner
4282b9be20 Add separate "start discussions without approval" permission
- Register required permissions so that "start discussions without approval" can only be set for groups that already have permission to "start discussions" (and same for reply)
- Change the "hidden" trash badge into a more descriptive gavel badge for discussions that are awaiting approval

closes flarum/core#904
2016-05-27 14:40:59 +09:30
Toby Zerner
fd59f0ee48 Prevent mentions summary from blocking post controls 2016-05-26 22:26:05 +09:30
Toby Zerner
c809f329bb Update settings reference 2016-05-26 19:05:28 +09:30
Maël Soucaze
bf31979a59 Remove unnecessary double quotes (#77) 2016-05-23 22:59:16 +09:00
Maël Soucaze
dfd614e6ea Add language line for image dimensions validation rule (#78)
See: da64a014e7
2016-05-23 22:59:04 +09:00
Toby Zerner
310fed2329 Tweak quote button positioning/style
Now appears where your cursor ends the selection, but not overlapping text.
2016-05-22 14:05:38 +09:30
Toby Zerner
93c4cd8960 Merge pull request #76 from dcsjapan/misc-cleanup
Clean up translation keys
2016-05-21 22:05:51 +09:30
Toby Zerner
cf9e032693 Add translation for "view post IP addresses" permission 2016-05-21 22:03:31 +09:30
dcsjapan
58daef61c3 Clean up translation keys
- Removes two obsolete keys from the Extensions page.
- Corrects the suffix on a key in the Change Email modal.
- Extracts the title of the Edit User modal.
- Reorders keys in `core.email` namespace.
- Supports flarum/core#964
2016-05-21 21:32:54 +09:00
Sajjad Hasehmian
a05600b91e Show quote button when post text is selected
closes #19 closes flarum/core#320
2016-05-21 21:37:48 +09:30
Toby Zerner
ae7b67223a Merge pull request #74 from sijad/quote-select
Add Quote button translation for mentions
2016-05-21 20:40:59 +09:30
Toby Zerner
fbad6ab8cb Add label to dismiss flag button, change icon to eye-slash
ref #7 cc @jordanjay29
2016-05-21 20:35:13 +09:30
Toby Zerner
93de8f4a7d Change dismiss flag from tooltip into button 2016-05-21 20:28:38 +09:30
Toby Zerner
2c57f74608 Add translation for post "Edited" indicator 2016-05-21 20:28:29 +09:30
Sjjad Hashemian
e4775c6a91 Add Quote button translation for mentions 2016-05-18 11:05:35 +04:30
jordanjay29
044d43c18c Change fa-times to fa-cancel
Mitigates confusion over button's immediate action, whether it will dismiss flag or delete post. In isolation, fa-times looks ambiguous enough to delete the post, which may delay a moderator's action when choosing how to respond. By replacing it with fa-ban, it should be immediately obvious that the action taken by the button will dismiss the flag, and not modify the post at all.
2016-05-15 21:48:56 -05:00
Franz Liedke
84974d3f31 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 23:18:29 +09:00
Franz Liedke
8c280b0b15 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 22:42:15 +09:00
Franz Liedke
dbf82e4641 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 22:36:18 +09:00
Franz Liedke
7190cd84b4 Use the variables that are already instantiated 2016-05-15 20:58:29 +09:00
Maël Soucaze
69a3acdb6d Use existing reused translation keys. (#73) 2016-05-15 18:49:40 +09:00
David Sevilla Martín
9f7c68ffe1 Admin SMTP UI Translations (#72)
* Added SMTP page & nav translations (includes SMTP on texts)
Changed from mail.* to smtp.* (thanks @dcsjapan)
Added _label to labels (thanks again)

* Making translations with better quality
(comment from @b9a10a1)

* Changed SMTP to Email, some minor changes, organization, some headings, refs...

* Updated ...SMTP page... comment to ...email page...

* updated translation keys to alphabetically, \& added quotes around email_text (thanks @maelsoucaze)

* Wow, so many extra spaces... I don't know when I added them :(

* Changed "adresses" to "addresses"
2016-05-15 12:01:46 +09:00
Franz Liedke
a3b92ed02c Remove special case handling for certain emojis
This does not seem to be necessary anymore after the recent update of the emoji map.
2016-05-14 23:24:06 +09:00
Franz Liedke
5f7195b3fa Match emojis from the beginning before trying fuzzy matches
Fixes flarum/core#901.
2016-05-14 22:59:25 +09:00
cestrensem
c67091709c New icons (#7)
* Icons placed separately

* Actualized iconpack

* import new icons from separate file
2016-05-14 22:13:03 +09:00
gpascualg
eb0ab69cf3 Unbind only from newPost 2016-05-14 04:48:08 +02:00
Franz Liedke
0a1dc4c52e Translation for avatar upload tooltip
Refs flarum/core#249.
2016-04-17 22:34:53 +09:00
Franz Liedke
d5740edb1b Recompile JS 2016-04-15 21:18:54 +09:00
dcsjapan
18d57e282c Add translatable string for Flags
- Adds translation for Flags notification.
- Supports flarum/flarum-ext-flags#6.
2016-04-15 21:15:48 +09:00
dcsjapan
a5e9cc614f Extract translation from FlagList.js
Fixes flarum/core#931.
2016-04-15 21:13:29 +09:00
Franz Liedke
14eb7c97d0 Only list tags available to current user 2016-04-15 21:01:23 +09:00
Niels Tholenaar
1b23e44b06 Added REST tags endpoint (https://github.com/flarum/core/issues/600) 2016-04-15 09:44:53 +02:00
Toby Zerner
a0779cbdef Fix SubscriptionMenu button title 2016-04-08 13:47:22 +09:30
Toby Zerner
d1863f1f64 Fix wrong URL in links 2016-04-08 13:44:46 +09:30
dcsjapan
8a3ea800dd Fix unextracted translations in core blade files.
- Adds language resources extracted from `reset.blade.php`.
- Moves `basic` key namespace to `views`.
- Subdivides `views` namespace based on filename.
- Supports #918.
2016-04-07 17:49:55 +09:00
Franz Liedke
bf536f32a0 Update key and quotes
As suggested by @dcsjapan.

Refs flarum/core#428.
2016-04-01 10:48:19 +09:00
Franz Liedke
815133473b Adapt latest changes to DiscussionRenamedPost
Refs flarum/core#428.
2016-04-01 10:09:15 +09:00
Franz Liedke
afac1f6d19 Update locale keys and contents
Refs flarum/core#428.
2016-03-30 21:49:53 +09:00
Franz Liedke
54357f916d Split up info text for renaming discussions
Refs flarum/core#428.
2016-03-30 20:43:34 +09:00
Toby Zerner
36c4c5d966 Require core v0.1.0-beta.5 2016-03-29 18:50:22 +10:30