188 Commits

Author SHA1 Message Date
Miro Rauhala
da295a83df Add Finnish language (#3237)
Credit to @mirorauhala
2017-11-11 18:36:55 -06:00
Luke Towers
46205298df Add the user's role to the columns 2017-10-15 11:49:06 -06:00
Samuel Georges
d30dd19b70 Rollback 510071550a0f1b564d16b28922e9ef5f8c10d4a9
This issue has been addressed too early in the process lifecycle. The line number should be incremented later, say in the view layer when the error is displayed. A simple helper to determine what the index increment should do well.

$row + $indexIncrement

This is so we don't have to rebuild the array, which is computationally expensive for large datasets and could be frustrating for a developer expecting untouched index values, or likewise needing to prepare our special format.
2017-09-17 10:14:14 +10:00
Luke Towers
510071550a Report correct row number in import error logs
This fixes an issue where the row number reported by import error logs would be off by 1 or 2 depending on whether the first row was labelled as titles or not.

As arrays start at 0 in PHP, `$firstRowTitles = false` would result in reported row numbers being off by one less than their actual number. If `$firstRowTitles = true`, the reported row number would be off by two less than their actual number (one for the zero index, one for the first row not existing in the `$results` set).
2017-09-15 17:05:46 -06:00
Sang Min Oh
969eaccf8b korean language support for backend (#3023)
Credit to @everydayparty
2017-08-06 12:36:34 -06:00
Samuel Georges
3b7330f06a Typo 2017-07-13 19:38:44 +10:00
Samuel Georges
4fd1ca824f Introduce concept of system roles
These are roles defined by a special API code, once a system role code is detected, the role becomes locked and its permissions are sourced from the AuthManager. All permissions are granted to system roles by default, unless otherwise specified. This should make it easier to create client accounts as "Publishers", hiding developer tools like the CMS and Builder plugins by default.
2017-07-13 19:29:50 +10:00
Samuel Georges
8002c1010b Create migrate script to split permissions out
Permissions have been moved from Groups to a new Role model
Refs #2367
2017-07-11 19:17:44 +10:00
Samuel Georges
1db67af8e8 Merge remote-tracking branch 'remotes/origin/develop' into l55upgrade
Conflicts:
	modules/system/lang/en/lang.php
2017-07-11 10:48:54 +10:00
Hartmut Glücker
dfcf324d00 Support changing the global default for richeditor buttons (#2937)
Added support for changing the global default for richeditor buttons. 
Addresses: #2677, #2384, #2078, #1743 and rainlab/pages-plugin#188
2017-07-04 08:10:58 -06:00
Alexander Shapoval
e6d79057c6 Translation into Ukrainian has been added. Added translations into Russian (#2931)
* Added Ukrainian language. Credit to @PopcornPHP for the translation.
2017-06-17 15:22:50 -06:00
Priit Perna
eff3f2e905 Backend translation for estonian (#2911)
* Added language files for Estonian (et). Thanks to @priitperna!
2017-06-07 11:07:34 -06:00
Samuel Georges
bda98e7353 Selectable box and fancy breadcrumb 2017-06-05 17:35:15 +10:00
Samuel Georges
eadd889813 Improve mobile and settings page
Use native scroll on mobile devices (much better UX)
Stack settings menu items 2 column medium, 3 column large
The settings search is now forcibly focused
2017-06-02 17:39:26 +10:00
Samuel Georges
00ddd8e2b4 string -> ::class + docs 2017-05-20 20:01:19 +10:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
José Longo
0de1306427 add locale pt-pt in $localeOptions 2017-04-10 15:08:50 +01:00
octolit
43391688be Lithuanian translation for system/lang (#2648)
* Lithuanian translation for system/lang

* Lithuanian backend translation for cms/lang

* Lithuanian backend translation

Final and complete translation for backend/lang for Lithuanian. Also
added locale option in modules/backend/models/Preference.php for
back-end users to be able to select new locale -> Lietuvių (Lithuanian)

* reset_error translated
2017-02-07 14:56:06 -06:00
Sergey Karavay
fe4d593519 Add Belarusian language into preferences, fix translations of languages for all locales.
Notes:
Translations for all languages in preferences' drop-down should be written in native language not depending from current locale. As for example, you can take Youtube language settings at the bottom of the screen. And user can choose a language he can actually read.
As all localisation strings go to "en" as a fallback, we can just remove locale translations from all localization files except "en"".
2016-12-23 10:12:56 +00:00
Samuel Georges
4fa40d342e Allow export to disable first row as header 2016-12-03 07:36:39 +11:00
Samuel Georges
6bbf496ab2 Simplify code
This makes xdebug happy
Refs #2502
2016-11-23 08:11:24 +11:00
Samuel Georges
a313d4eb5b Minor fixes 2016-11-10 06:49:45 +11:00
Justin Lau
844d2d1b28 Use id instead of updated_at for more consistent behavior 2016-10-27 00:31:44 +08:00
Justin Lau
325ae4ad08 Return the latest uploaded (updated) file path. 2016-10-25 00:21:18 +08:00
Samuel Georges
f18ff0daac Verify fallback lang actually exists before using it
This fixes an error 500 when trying to reference a non-existent language
Fixes #2358
2016-10-13 20:38:15 +11:00
Samuel Georges
2659ae708f Add doc blocks 2016-09-09 06:16:24 +10:00
Alexander Guth
61823329c8 ImportModel didnt respect encoding
In contrast to the preview CSV reader, the actual ``ImportModel`` did not respect any encoding values provided. This leads to bugs with any non utf8-compliant characters. This PR fixes the problem by adding the appropriate encoding filter (copied from the preview reader).
2016-08-18 21:11:21 +02:00
Samuel Georges
6070d2f6bd Fixes unstyled tab area (Pages plugin > Edit page) 2016-08-13 10:17:49 +10:00
Samuel Georges
6353ded91f Brand settings can now be seeded from config 2016-08-13 07:56:11 +10:00
Samuel Georges
96eba6febc Roll back uncommon features
Refs #2249
2016-07-30 12:04:21 +10:00
Szabó Gergő
e956b24cce Add new columns for Administrators list 2016-07-27 15:09:00 +02:00
Szabó Gergő
c37f078e29 Improve the Administrators list 2016-07-27 11:50:44 +02:00
Samuel Georges
cc28b35b07 $this is not accessible in static context
Fixes #2193
2016-07-09 05:50:01 +10:00
Samuel Georges
305f20e4f9 Merge pull request #2164 from Herlevsen/danish_backend
Expose danish language in backend locale dropdown
2016-07-07 08:00:26 +10:00
Félix Desjardins
10ec9030b3 FR-CA with Canadian Flag! 2016-07-06 17:15:55 -04:00
Jens Herlevsen
40a755a6cc Expose danish language in backend locale dropdown 2016-07-03 19:36:24 +02:00
Samuel Georges
805c0939ad Introduce two new dash widgets: welcome and active theme
System warnings have been moved to the system dash widget
Minor styling and language changes
2016-05-28 11:10:33 +10:00
Samuel Georges
8a7f762c71 Restyle system status report widget
Fixes styling on popover-danger and popover-head with customization
2016-05-28 06:49:59 +10:00
Samuel Georges
e9be15cc15 Preferences -> Preference
Rename brandsetting config folder
2016-05-27 07:46:50 +10:00
Samuel Georges
f676f55375 BrandSettings -> BrandSetting
(Models should be singular)
2016-05-27 07:37:49 +10:00
Samuel Georges
cdb35f5070 UserPreferences -> UserPreference
(Models should be singular)
2016-05-27 07:35:32 +10:00
Szabó Gergő
5d104cfd56 Remove the unnecessary newlines
Update the event log translations

Update the Hungarian translations

Improve the logs preview translations

Translate the Editor settings page
2016-05-26 05:31:37 +10:00
Szabó Gergő
0838f45874 Optimized brand settings layout for HD monitors 2016-05-25 00:03:47 +02:00
Samuel Georges
1a30c792fc HTML -> Markup 2016-05-24 06:05:11 +10:00
Samuel Georges
d730f9af9d Merge branch 'froala' into develop 2016-05-24 05:46:39 +10:00
Samuel Georges
ef290df3af Custom CSS classes for styling elements
Define allowed tags, allowed empty, do not wrap, remove tags
Refs #2005
2016-05-24 05:33:32 +10:00
Jérémy Gaulin
de3fdbd268 Fixed AbstractCSV (not imported) to CsvWriter (imported subclass) 2016-05-20 17:40:25 +02:00
Samuel Georges
066b918d39 Various styling changes
Removed the harsh title on popups
Anything considered an "overlay" now uses a box shading effect
The account menu now uses lighter shading
Introduced highlight states, allowing hover + active to behave independently
2016-05-20 06:33:16 +10:00
Samuel Georges
a6ac4f50ce Create proposed Editor settings
Prevent Froala files from being added to git
2016-05-19 13:13:31 +10:00
Szabó Gergő
5a031a2e29 Added the missing translations
Replaced the old php array syntax
Minor typo
Updated the Hungarian language
2016-05-15 05:32:06 +10:00