1
0
mirror of https://github.com/flarum/core.git synced 2025-08-27 01:55:04 +02:00
Commit Graph

8867 Commits

Author SHA1 Message Date
Dominion
682da85dfc Clean up translation keys (#964)
- Corrects the suffix on a key in the Change Email modal.
- Extracts the title of the Edit User modal.
2016-05-21 22:03:57 +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
Davis
e4a758dfdf Show post IP address in meta dropdown. closes #956 closes #657 2016-05-21 22:02:42 +09:30
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
6c878cfced Correct order of compiled JavaScript modules 2016-05-21 20:32:06 +09:30
Toby Zerner
363cc4acb1 Add API to allow skeleton to customise the Application instance 2016-05-21 20:31:42 +09:30
Toby Zerner
9f00d8245c Fix crash on reset password page 2016-05-21 20:29:38 +09:30
Toby Zerner
cf1b71e76a Fix wonky avatar display when expanding a deleted post 2016-05-21 20:29:04 +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
Toby Zerner
553b8f6b29 Move details from post edited indicator back into a tooltip
Showing the username and time of edit is TMI (too much information). This commit changes the visible text to "Edited", and shows the full edit information in a tooltip.

ref #446
2016-05-21 20:27:56 +09:30
Toby Zerner
edbc1164d1 Automatically support basic HTML tags in translations
This allows front-end translations to use basic (attributeless) HTML tags freely, without the need for the translator call to supply a matching vdom element. Translations can thus make use of styling (<em>, <code>, etc.) as they see fit. The translator call can still optionally supply a vdom element to substitute in more complex tags where necessary (e.g. hyperlinks).

/cc @dcsjapan
2016-05-21 20:25:32 +09:30
Sjjad Hashemian
e4775c6a91 Add Quote button translation for mentions 2016-05-18 11:05:35 +04:30
Franz Liedke
da65528d2d Merge pull request #7 from jordanjay29/patch-1
Change fa-times to fa-cancel
2016-05-16 14:59:56 +09:00
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
829f0e0275 Customize behavior for various navigation callbacks, pass KeyboardEvent instance to callback
Refs #264.
2016-05-15 23:09:59 +09:00
Franz Liedke
a2b961e525 Make key callback registration more concise
Refs #264.
2016-05-15 22:58:41 +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
5bbe6f1865 First shot at extracting keyboard navigation code to separate util class
Refs #264.
2016-05-15 22:34:16 +09:00
Franz Liedke
7190cd84b4 Use the variables that are already instantiated 2016-05-15 20:58:29 +09:00
Franz Liedke
3e8cffeb90 Add a heading to the admin mail page 2016-05-15 20:46:58 +09:00
Franz Liedke
e273796e1c Admin menu: Move email tab closer to the top 2016-05-15 20:31:23 +09:00
Franz Liedke
65dfb749c0 Tweak structure of mail settings page
Refs #258 and #933.
2016-05-15 20:28:05 +09:00
Maël Soucaze
69a3acdb6d Use existing reused translation keys. (#73) 2016-05-15 18:49:40 +09:00
Franz Liedke
57989e32a2 Fix translation keys 2016-05-15 12:08:11 +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
Franz Liedke
b9a8e6e24e Fix post controls not being clickable in some circumstances
Closes #908.
2016-05-14 18:07:43 +09:00
Franz Liedke
3b1714c977 Cleanup code (unused import, variable name) 2016-05-14 17:19:01 +09:00
David Sevilla Martín
c17265b04e Replace pencil & tooltip w/ just text; Fixes #446 (#954) 2016-05-14 17:06:02 +09:00
Franz Liedke
920b34c11b Merge pull request #7 from Push-EDX/unbind-fixes
Unbind only from newPost
2016-05-14 16:16:29 +09:00
gpascualg
eb0ab69cf3 Unbind only from newPost 2016-05-14 04:48:08 +02:00
Niels Tholenaar
77a8d02d02 Fixed LESS compile error (#958) 2016-05-13 23:15:33 +09:00
Franz Liedke
48301527ed Fix font-awesome LESS source not being found in some cases 2016-05-13 23:04:14 +09:00
Franz Liedke
8f0935b646 Merge branch 'pr/933'
Closes #258.
2016-05-13 00:25:27 +09:00
Franz Liedke
98b68c6c45 Remove unused import 2016-05-13 00:25:11 +09:00
Franz Liedke
7a1d5a3a35 Compile dist JS for 58a3d33 2016-05-12 23:58:09 +09:00
Franz Liedke
16ded627a1 Merge branch 'pr/936'
Closes #814.
2016-05-12 23:56:47 +09:00
Franz Liedke
0da8d86f64 Final tweaks to inline code styling
Refs #814.
2016-05-12 23:56:12 +09:00
Maxim Chistyakov
50bbe32175 SQL Performance tuning (#952)
MySQL has problems with executing this subquery efficiently.
2016-05-12 23:07:41 +09:00
Franz Liedke
68c4dec763 Add a comment 2016-05-12 23:03:37 +09:00
Lyntor Paul Figueroa
1904e36419 Fix avatar upload on Windows servers - Issue #893 (#927)
* Fix avatar upload on Windows servers - Issue #893

* Remove @ to show errors if any
2016-05-12 23:01:51 +09:00
Augustus D'Souza
58a3d33b60 Fixes #945 - Incorrect Scrubber count value (#946)
* Fixes #945 - Incorrect Scrubber count value

Clicking and dragging the Scrubber beyond the final post causes the counter to exceed the total post count. This commit fixes that issue.

* Updated post calculating logic
2016-05-10 10:52:20 +09:00