1
0
mirror of https://github.com/flarum/core.git synced 2025-08-23 08:33:45 +02:00
Commit Graph

8745 Commits

Author SHA1 Message Date
dcsjapan
b6e5dd0726 Extract translations
- Adds app.translator calls for forum and admin interfaces.
- Locale file to follow later.
2015-11-29 12:13:43 +09:00
Toby Zerner
86574d1039 Merge pull request #2 from dcsjapan/extract-translations
Extract translations
2015-11-29 13:00:36 +10:30
dcsjapan
e3de8a5a23 Extract translations
- Adds app.translator calls for forum and admin interfaces.
- Locale file to follow later.
2015-11-29 11:24:14 +09:00
Toby Zerner
03a0956cf2 Merge pull request #51 from dcsjapan/double-quotes
Adds required double quotes to a translation.
2015-11-28 19:42:10 +10:30
dcsjapan
a4a538aa8a Adds a missing translation text. 2015-11-28 17:44:52 +09:00
dcsjapan
3df88d6e33 Adds required double quotes to a translation. 2015-11-28 17:38:21 +09:00
Toby Zerner
91f434971c Merge pull request #50 from dcsjapan/leftover-translations
Extract leftover strings
2015-11-28 18:54:28 +10:30
Toby Zerner
c9ced9946d Merge pull request #645 from dcsjapan/leftover-translations
Extract leftover strings
2015-11-28 18:54:27 +10:30
dcsjapan
29dc0d5021 Extract leftover strings
- Adds resources in support of flarum/core #645.
- Also fixes a few comments in the core and Tags resources.
2015-11-28 17:19:53 +09:00
dcsjapan
d462b36d71 Extract leftover strings
Extracts strings that were missed previously in:
- Dashboard page of admin interface.
- Edit Custom CSS modal of admin interface.
- Settings modal of admin interface.
- Post activity list on user page of forum UI.
Hopefully there aren't any more!
2015-11-28 17:14:22 +09:00
Toby Zerner
d6571ae00a Merge pull request #644 from dcsjapan/update-locale-template
Update locale file template
2015-11-28 17:33:53 +10:30
dcsjapan
1238c95118 Update locale file template
Adjusts comments to match current english locale files.
2015-11-28 15:55:21 +09:00
Toby Zerner
35ec2942fd Merge pull request #48 from dcsjapan/i18n-doc-reorg
English revamp for i18n docs
2015-11-28 16:11:19 +10:30
dcsjapan
42eb6e3c43 English revamp for i18n docs
- Moves `ref` below `email`, adjacent to `group`.
- Deletes block comment for `email` namespace.
- Adds detail to block comment for `group`.
- Changes "string" to "translation" in all files.
2015-11-28 13:48:02 +09:00
Franz Liedke
033a118e97 Rename HTTP method override header
This is the name recommended by the JSON-API spec:
http://jsonapi.org/recommendations/#patchless-clients
2015-11-26 17:43:32 +01:00
Toby Zerner
22331306c6 Update changelog 2015-11-26 10:43:48 +10:30
Toby Zerner
fa1232ee20 Merge pull request #642 from binaryoung/master
Fixed #627
2015-11-26 10:32:36 +10:30
young
37917bf2c8 Fix #627 2015-11-26 02:03:00 +08:00
Franz Liedke
2a7ccf81d5 Merge pull request #47 from maelsoucaze/laravel-validation
Add "required_unless" lang line
2015-11-25 14:09:44 +01:00
Maël Soucaze
a2d6f82ad4 Add "required_unless" lang line 2015-11-25 13:34:33 +01:00
Franz Liedke
2e821a7d1b Merge pull request #46 from maelsoucaze/empty-text
Do not ask to create a new discussion anymore
2015-11-25 13:25:22 +01:00
Maël Soucaze
41b1334e20 Do not ask to create a new discussion anymore 2015-11-25 12:30:00 +01:00
Toby Zerner
f3a4174780 Truncate long tag names in tag selection modal 2015-11-25 15:45:51 +10:30
Toby Zerner
682cc0ac12 Merge pull request #43 from maelsoucaze/require
Add Flarum's Core as a requirement
2015-11-25 14:56:42 +10:30
Toby Zerner
a21a18721f cs fix 2015-11-23 14:18:56 +10:30
Toby Zerner
06dc4edb3a Prevent error if no input is given in create actions 2015-11-23 14:15:30 +10:30
Toby Zerner
b76c2f16e7 Validate avatar URL
Still needs refactor
2015-11-23 14:14:53 +10:30
Toby Zerner
4949cbc89e Prevent crash if logged in user has been deleted 2015-11-23 11:54:30 +10:30
Toby Zerner
08034c0d9a Allow provision of an avatar URL to upload during sign up
This can be used by authentication extensions (i.e. mirror Facebook/Twitter profile picture). Rough implementation, needs refactoring.
2015-11-23 11:53:57 +10:30
Toby Zerner
d78bd82b65 Add FastClick 2015-11-23 10:38:20 +10:30
Toby Zerner
675412f181 More mobile UX improvements
- Reposition the composer when shown
- Make preview button scroll the parent frame down
- Fix iframe infinite height loop
2015-11-23 10:10:26 +10:30
Toby Zerner
7b0817900e Don't pad the body when the composer is positioned absolutely (on mobile) 2015-11-23 10:07:23 +10:30
Toby Zerner
11560342a2 Refactor composer preview logic 2015-11-23 08:47:16 +10:30
David Bohn
dda09653ab Update translation according to suggestions 2015-11-21 14:17:03 +01:00
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
ca83a5b9ea Truncate long dropdown menu items (e.g. tags in the sidebar)
ref #391
2015-11-21 14:01:07 +10:30
Toby Zerner
4752fa6785 Improve spacing of drawer elements 2015-11-21 13:21:27 +10:30
Toby Zerner
f79844d1e3 Add translation for discussion composer title
Extracts "Start a Discussion" into a reference variable
2015-11-21 13:17:47 +10:30
Toby Zerner
f14c238625 Tweak mobile drawer appearance 2015-11-21 13:16:46 +10:30
Toby Zerner
208e923c15 Fix composer preview button on mobile. closes #196 2015-11-21 13:16:25 +10:30
Toby Zerner
e8836bad46 Improve composer appearance/usability on mobile
On mobile:
- Move submit button to right side of toolbar
- Move first header item to toolbar
- Size textarea correctly
2015-11-21 13:16:05 +10:30
Toby Zerner
4cb764e603 Don't directly change TextEditor styles 2015-11-21 13:11:22 +10:30
Toby Zerner
c9401ce150 Tweak UX on mobile
Since Mobile Safari automatically resizes iframes to fit their content, we need to avoid using position:fixed. In this commit we:

- Eliminate use of position:fixed for dropdowns. They are instead displayed statically, like on desktop.
- Reposition modals when they are shown according to the parent window's scroll position.
- Tweak the toolbar's appearance and height on mobile.
2015-11-20 12:44:42 +10:30
Toby Zerner
fdd837ae7e Use correct setting keys 2015-11-20 12:38:20 +10:30
Toby Zerner
21f2a28c01 Extend the dropdown component to inherit auto-positioning functionality 2015-11-20 12:38:00 +10:30
Toby Zerner
342ad776da Add new core translation 2015-11-20 12:37:29 +10:30
Toby Zerner
86dd1ac9f4 Make sure dropdowns stay within the viewport horizontally too 2015-11-20 12:35:07 +10:30
Toby Zerner
28c3877454 Add a "load more" button to the end of the post stream
This is necessary if the page is viewed in a context with no scrolling, i.e. an auto-resizing iframe
2015-11-20 12:35:07 +10:30
Toby Zerner
b780111af5 Show "reply" action in discussion menu on mobile 2015-11-20 12:35:07 +10:30