Commit Graph

2392 Commits

Author SHA1 Message Date
Dave Shoreman cac8b54e87 Remove superuser field for non-superusers
If an admin user has permission to manage other users, they are
able to set others as superuser, or even create their own
superuser account. That's not really what we want.
2015-09-26 00:34:12 +01:00
Samuel Georges 8d11fe1257 Minor touch up to #1462 2015-09-26 08:51:13 +10:00
Samuel Georges 25f59a3b27 Merge pull request #1462 from dshoreman/localised-dates
Localise last modified date for mediaManager items
2015-09-26 08:47:41 +10:00
Christopher Forsberg cf25f1caac Added missing client.php to modules/system/lang/sv/.
Updates to Swedish translations of OctoberCMS * Added missing keys * Updated some translations that were incorrect
2015-09-26 08:43:32 +10:00
Samuel Georges f4f69eec91 Merge pull request #1456 from Mr118/develop
fixes in localization
2015-09-26 08:37:54 +10:00
Samuel Georges 163e79892a Merge pull request #1450 from vojtasvoboda/feature/missing-lang-keys
Add missing locales
2015-09-26 08:36:48 +10:00
Samuel Georges 1a43f01978 Merge pull request #1444 from drtzack/patch-2
Update Turkish Language for CMS module
2015-09-26 08:35:56 +10:00
Samuel Georges 253f4b3e84 Merge pull request #1446 from Flynsarmy/pageRegexEscape
Allow \ character in Page URLs. Fixes #1441
2015-09-26 08:34:16 +10:00
Samuel Georges d5e21b3842 Merge pull request #1443 from drtzack/patch-1
Turkish Language Update for System
2015-09-26 08:31:23 +10:00
Samuel Georges 3974fbb423 Merge pull request #1442 from jBOKA/develop
Updated AssetList widget to use correct folder permissions
2015-09-26 08:30:51 +10:00
Samuel Georges 9a54db74ad Move docs out of JS file 2015-09-26 08:29:17 +10:00
Samuel Georges b4fdf27023 Tidy up popups docs 2015-09-26 08:24:16 +10:00
Samuel Georges 6e1194784a Take some emphasis off the inactive main menu items
NB: The "wizard" CMS icon doesn't seem to like font size 28px, but all other icons appear to render cleanly at this size.
2015-09-26 08:10:25 +10:00
Samuel Georges 863bac86fe Foundation code samples should be inline 2015-09-26 08:01:32 +10:00
Samuel Georges 70882a0e33 Minor revert from previous 2 commits 2015-09-26 08:01:08 +10:00
Samuel Georges 0f17d26ea1 Merge pull request #1445 from gergo85/patch-2
Translate the "CMS" string and minor cleanup
2015-09-26 07:58:29 +10:00
Samuel Georges 44bfda46cc Translate page title template 2015-09-26 07:55:39 +10:00
alekseybobkov e54352b62e Added the object list Inspector editor. 2015-09-24 21:16:28 -07:00
Samuel Georges beca2dddc2 Fixes the full screen button in code editor 2015-09-25 06:01:59 +10:00
Dave Shoreman 5816ae5604 Add permissions for account dropdown items
This adds permissions to Back-end Preferences and Code editor
preferences in the backend.

Instead of Access denied, the Backend Preferences page displays
an "Unable to find the spcified settings" error. Meh... it works.
2015-09-24 20:40:31 +01:00
Dave Shoreman faf682e30e Localise last modified date for mediaManager items
Updates the string version of the date to use PHP's IntlDateFormatter
which gives us translated dates in the appropriate format, based on
the user's locale set in backend preferences.

If ever there's a case where locale wasn't set or didn't match anything,
it would default to the system locale.
2015-09-24 19:11:32 +01:00
Jakub Zych 0e3e19a685 string replaced with translation key
backend::lang.list.no_records exists in all language files
2015-09-23 15:14:10 +02:00
Jakub Zych 99f2a40662 small fix in polish translation 2015-09-23 15:12:17 +02:00
Vojta Svoboda d56350dd34 Add missing locales 2015-09-23 12:19:02 +02:00
Samuel Georges 933ea641cc Adds failed jobs table (from docs)
Allow closures to be passed to Form|ListController
Tidy up server detail payload
2015-09-23 05:45:55 +10:00
flynsarmy 6e85290c9e Allow \ character in Page URLs. Fixes #1441 2015-09-22 10:38:35 +10:00
Szabó Gergő 5a39058b56 Translate the "CMS" string and minor cleanup 2015-09-21 21:09:07 +02:00
alekseybobkov 83b4994d61 Added new Inspector property editors - text and set, minor refactoring of the Inspector code. 2015-09-20 21:15:21 -07:00
Talha Zekeriya Durmuş 4d2a14ae94 Update Turkish Language for CMS module 2015-09-20 12:50:24 +03:00
Talha Zekeriya Durmuş aa7b44d614 Turkish Language Update for System 2015-09-20 12:16:27 +03:00
jBOKA 2bfcec811f Updated AssetList widget to use correct folder permissions 2015-09-20 06:03:42 +02:00
alekseybobkov f823e6f0ba Rewriting the Inspector, in progress. 2015-09-19 12:57:31 -07:00
Samuel Georges ab4abb9bc5 Minor 2015-09-19 06:17:31 +10:00
Vladimir Kattsov 9fee6346df Update MediaManager.php
Transform extension like JPG and etc to lower case
2015-09-19 06:04:25 +10:00
Samuel Georges 8ea26f87e1 Merge pull request #1433 from vojtasvoboda/feature/cs-locale
Add cs_CZ locale
2015-09-19 05:55:12 +10:00
Samuel Georges 3f7aa9f9f7 Write tests for revisionable trait 2015-09-19 05:36:58 +10:00
Samuel Georges b5611c3ed1 Add cache table 2015-09-19 05:32:05 +10:00
alekseybobkov 86ca09970d Updated select2, implementing new Inspector, work in progress. 2015-09-17 21:49:21 -07:00
Samuel Georges 528f6b1eca Improve icon docs 2015-09-18 05:08:47 +10:00
Samuel Georges 143f22850a Add alias for AjaxException as per docs 2015-09-18 05:08:18 +10:00
alekseybobkov c4e7427669 Updating select2 2015-09-16 20:06:30 -07:00
Samuel Georges 6b916cb554 Adds a timetense list column, inspired by FB
Also added |time_since and |time_tense Twig filters
2015-09-17 05:15:12 +10:00
Samuel Georges 6db2018f28 Add icon sizes - Refs #1434 2015-09-16 06:03:57 +10:00
Vojta Svoboda 17a2585a15 Add cs_CZ locale 2015-09-15 14:30:18 +02:00
alekseybobkov dba955da3a Rebuilding the Inspector 2015-09-13 18:11:12 -07:00
Talha Zekeriya Durmuş 293a04722e Turkish Language Update
Update lang.php

Updated forgotten record
2015-09-12 09:05:49 +10:00
Samuel Georges 1c8d021a35 Adds the ability to remove navigation items
Included tests
Refs #1413
2015-09-12 08:45:58 +10:00
Samuel Georges e8b4bf9d72 If the pivot model fails for some reason, abort the sync
Refs #1408
2015-09-12 07:53:33 +10:00
Samuel Georges 1d5caee2d9 Merge pull request #1408 from mplodowski/fix-1407
Fix #1407
2015-09-12 07:42:38 +10:00
alekseybobkov fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07:00
Samuel Georges cf7585f79b Fixes formwidget logic leaking out of context
For example: a formwidget with no tabs can exist inside a set of preview content tabs
2015-09-10 20:51:02 +10:00
Samuel Georges 9812e1f4ec Fix protection level on formExtendFields
Improve styling on collapsible sections
2015-09-10 20:42:24 +10:00
Samuel Georges ac18f86937 Fixes an issue where admins updating self see access denied
Only when the user has no permission to edit other admins
Refs #831
2015-09-09 08:32:45 +10:00
Samuel Georges e2fafa3552 Revert eac25c69de
Toolbar no longer sets height 100%, tests in Chrome 45 fine
2015-09-09 08:32:44 +10:00
Samuel Georges 2a6b58a3fe Merge pull request #1425 from Flynsarmy/getPublicActions
Add getPublicActions controller method
2015-09-08 12:48:44 +10:00
flynsarmy 98e1d0fe4d Add getPublicActions controller method 2015-09-07 14:17:09 +10:00
Samuel Georges ddf8ff09ff Fixes #1416 to include empty strings 2015-09-03 07:15:52 +10:00
Vojta Svoboda beb253a5c0 Fix evaluate zero value as null 2015-09-02 22:43:33 +02:00
Samuel Georges 6511f0404e Document row classes and add status column example 2015-09-02 17:30:03 +10:00
Samuel Georges 2619de0ae7 Fixes bug in valueFrom when relation is null 2015-09-02 17:28:22 +10:00
Samuel Georges 7a2c0eea07 Update BS sweet alert to latest, recompile assets 2015-09-01 19:05:44 +10:00
Michał Płodowski e388c18369 Added focus on search field when pivot popup opens. 2015-08-31 20:21:50 +02:00
Michał Płodowski 37f7c1d62e Fix #1407 2015-08-31 20:19:58 +02:00
Samuel Georges 8a28ce4e5f Fixes protection level bug 2015-08-31 17:19:25 +10:00
Samuel Georges 51c7878e8f Fixes rendering 2 shared component partials nukes context 2015-08-30 11:56:44 +10:00
Antony Tsioukas 24d8cb8f66 Update Greek Language 2015-08-30 09:32:51 +10:00
Samuel Georges ee38c72f04 Protected properties were once [incorrectly] available 2015-08-29 20:12:55 +10:00
Samuel Georges 6f029426ff Rejigg SMTP fields 2015-08-29 18:59:45 +10:00
Samuel Georges 275463996e When toggling empty tabs: if a hidden tab was selected, select the first visible tab
Induce tab overlap using negative right margin instead (first-child tab can be hidden)
Use a slightly cleaner approach than in #1401
2015-08-29 18:42:29 +10:00
Samuel Georges c5c56dd927 Merge pull request #1401 from gabsource/hide-formwidget-tab-on-toggle
Hide FormWidget tabs when they contain no fields or only hidden field
2015-08-29 17:21:42 +10:00
Samuel Georges d78fd52bbc Merge pull request #1400 from gabsource/smtp-ssl-settings
Fix SMTP encryption settings to reflect Laravel encryption config.
2015-08-29 16:55:24 +10:00
Samuel Georges 917cfd437f Make sure a tab is defined always - Refs #1397 2015-08-29 16:45:01 +10:00
Samuel Georges 0aaeaf7406 Merge pull request #1396 from gabsource/fix-emmet-js
Fix Emmet expand by forcing syntax to html when editor is set to Twig
2015-08-29 16:03:55 +10:00
Samuel Georges 02bcc0514c Merge pull request #1395 from gabsource/fix-swedish-language-code
Fix Swedish language code reference 'se' to 'sv' to reflect ISO code
2015-08-29 16:03:10 +10:00
alekseybobkov 268b918a51 Merge branch 'master' of github.com:octobercms/october into builder-ui 2015-08-27 18:30:45 -07:00
Jérémy Gaulin 6ec42da584 Hide FormWidget tabs when they contain no fields or only hidden fields after a toggle event on a field has occurred 2015-08-27 22:28:03 +02:00
Jérémy Gaulin aa5e9c6034 Fix encryption settings to reflect laravel encryption config. 2015-08-27 20:50:13 +02:00
Samuel Georges 906a4e65c2 Prompt can now be used to define the button text for file multi
Minor update to checkbox markup
2015-08-28 04:39:29 +10:00
Samuel Georges 7f502768dc Adds new view event system, add event to sign in form 2015-08-28 04:31:41 +10:00
Jérémy Gaulin d6356ac733 Fix Swedish language code reference 'se' to 'sv' to reflect ISO code like in folder structure. 2015-08-27 16:37:12 +02:00
Samuel Georges b39837834b MySQL may fall asleep during core extraction, so always try to wake it up 2015-08-27 17:34:34 +10:00
Jérémy Gaulin 8152605e5a Fix Emmet expand by forcing syntax to html when editor is set to Twig. 2015-08-27 01:28:43 +02:00
Samuel Georges a350e800fc Add simple example 2015-08-27 08:10:25 +10:00
Samuel Georges 793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
Samuel Georges 0cf3a95c10 Add favicon + robots + sitemap to mirrored files - Refs #1331 2015-08-26 17:41:25 +10:00
alekseybobkov c38126ce65 Implemented the oc.tableCellChanged event for the table widget. Added readonly mode support in the code editor widget. 2015-08-25 21:34:21 -07:00
Samuel Georges 30593b0031 Update FontAwesome to latest, recompile assets 2015-08-25 19:29:55 +10:00
Samuel Georges 942a8c000e Add helper for listing file + db templates 2015-08-24 20:31:44 +10:00
Samuel Georges 90d2b87180 Focus record finder search when it opens - Fixes #1388 2015-08-24 07:31:49 +10:00
Samuel Georges 3f26113042 Merge pull request #1387 from gergo85/patch-1
Translate the plugin author string
2015-08-22 20:22:38 +10:00
Szabó Gergő df6cdc084d Translate the plugin author string 2015-08-22 12:19:31 +02:00
Samuel Georges 1d0c22293c Merge pull request #1386 from gergo85/master
Big update for Hungarian language
2015-08-22 20:18:55 +10:00
Szabó Gergő 07c8b23c7d Big updated for Hungarian language 2015-08-22 12:09:56 +02:00
Samuel Georges e3e8fb35c7 Allow the model attribute name to be specified from config 2015-08-22 16:39:09 +10:00
Samuel Georges 6d1673c4b3 Introduce ReorderController for reordering of model records - Fixes #943 2015-08-22 16:33:00 +10:00
Samuel Georges 60c18d39df Remove dependency on sweet alert 2015-08-22 13:48:53 +10:00
Samuel Georges 4c1db1d8db Tidy up backend alerts, make long text in alerts readable 2015-08-22 13:41:57 +10:00
Samuel Georges d24f7252b3 Stops nested repeaters populating from previous sibling - Fixes #1381 2015-08-22 10:18:41 +10:00
Samuel Georges 24860fde99 Merge pull request #1379 from ariponce/patch-6
Update getStorageDirectory method to allow custom folder names
2015-08-22 08:48:51 +10:00
Samuel Georges 742ae07391 Tidy up from #1377 2015-08-22 08:47:35 +10:00
Samuel Georges 14f8abac4d Merge pull request #1377 from b0gok/patch-7
Update MediaManager.php
2015-08-22 08:39:06 +10:00
Samuel Georges 8e5a086067 Add more examples 2015-08-21 17:23:33 +10:00
Ariel Ponce 604a7ff465 Update getStorageDirectory method to allow custom folder names
See https://github.com/octobercms/library/pull/120
2015-08-18 15:42:26 +02:00
Vladimir Kattsov 7c39a1ae74 Update MediaManager.php
If name of our upload file not latin
2015-08-17 18:35:43 +03:00
Samuel Georges 1bfcaaf026 Use prettify on plugin details page 2015-08-15 14:16:16 +10:00
Samuel Georges 2c5f9eba6b Write tests that verify the truth of #1373 2015-08-15 13:39:44 +10:00
alekseybobkov 35c9e753f4 Table validation messages are translatable now. Fixed a bug where clicking a checkbox in a table row doesn't change its status. 2015-08-14 20:11:55 -07:00
Samuel Georges 85933facbc Stack partials, store components, unstack partials - Fixes #1373
Fixes instances where nested repeating partials are destroying the partial component stack and causing breaking errors.
Nesting example:

Partial (with components)
^-> Calls component default markup
^-> Refers to partial override (with repeating partial calls)
^-> Calls another partial (with components)
^-> Components not found (destroyed by repeating calls above)
2015-08-15 11:05:30 +10:00
Samuel Georges 6f414fe611 Default direction is ascending 2015-08-15 10:00:11 +10:00
Samuel Georges de2a088e20 Merge pull request #1366 from gabsource/fix-version
Ensure versions history are retrieved by id ASC (bug introduced by PR #1304)
2015-08-15 09:58:00 +10:00
Samuel Georges 4d04c5dda7 Sweet alert logic has grown large enough to warrant its own file 2015-08-15 09:53:55 +10:00
Samuel Georges 0e3403f1aa Use a nicer syntax for <html lang="" />
Recompile assets
2015-08-15 09:49:51 +10:00
Jérémy GAULIN 29a8ec1143 Ensure the client side language file is properly loaded
Switch widget needs short text. There is not really a 3 letters word or abreviation in french that is as understable as raw "On/Off".

Tidy up patch

Fix quote

https://github.com/octobercms/october/pull/1363/files#r36929168
2015-08-15 09:46:26 +10:00
Jérémy GAULIN d60242bbe2 Translate mail templates backend-end messages
Use email test success translated entry (which existed)

Restore default english translation for new externalized strings

Fix typo
2015-08-15 09:46:25 +10:00
Jérémy GAULIN 3f8d17995a Translate alert messages. Switched to `sweetAlert.alert()` instead of raw `window.alert()`.
Override `swal` and `sweetAlert` functions to set translation on default buttons.

Changed `sweetAlert()` to `swal()` to be consistent with `mediamanager.js`
2015-08-15 09:46:24 +10:00
Raphaël M 1c5ba4438b Update of FRENCH translation for OctoberCMS
Update of FRENCH translation for OctoberCMS

Update of FRENCH translation for OctoberCMS

Update of FRENCH translation for OctoberCMS
2015-08-15 09:41:11 +10:00
Samuel Georges 7f62725c1c Recompile assets for #1362 2015-08-15 09:34:29 +10:00
Samuel Georges 9ebd084e89 Merge pull request #1362 from gabsource/fix-sweetalert
Disable SweetAlert forced focus when a Bootstrap modal is already open in back-end
2015-08-15 09:31:23 +10:00
Samuel Georges b8bc6c6d99 Allow the "go up" link to be selected with the mouse - Refs #1360
This will disable the move and delete buttons
2015-08-15 09:17:30 +10:00
Samuel Georges 1a54df7f24 Merge pull request #1360 from jofrysutanto/develop
Show mediamanager sidebar preview when "Go up" is selected.
2015-08-15 08:56:04 +10:00
alekseybobkov a253d6fc57 Added customization options for the Table widget toolbar button labels 2015-08-13 20:26:11 -07:00
alekseybobkov 68ae32309c Merge branch 'develop' into builder-ui 2015-08-13 18:30:03 -07:00
alekseybobkov a54b05f520 Temporary update in the _head layout. 2015-08-13 18:27:59 -07:00
alekseybobkov c03124c53c Added the tab form expand controls JS class. Temporary update in the _head layout. 2015-08-13 18:27:14 -07:00
Samuel Georges fe4e9b005f Fix toolbar examples 2015-08-13 21:07:10 +10:00
Jérémy GAULIN e65f5c3c04 Ensure versions history are retrieved by id - Refs issue #1356 2015-08-09 20:21:41 +02:00
Jérémy GAULIN b5577eed25 Disable SweetAlert forced focus when a Bootstrap modal is already open (which was causing infinite loop).
Bootstrap is enforcing focus on it's modal box, sweet alert too. Focus on sweet alert buttons is not really important, keyboard actions are still available.
2015-08-08 21:59:19 +02:00
Jofry 8973761146 Merge pull request #1 from jofrysutanto/master
Show mediamanager sidebar preview when "Go up" is selected.
2015-08-08 22:57:21 +10:00
jofrysutanto 871f824582 Show mediamanager sidebar preview when "Go up" is selected.
Show more informative sidebar information when "Go up' is selected, instead of blank file information with 'null' public url.
2015-08-08 22:52:21 +10:00
Samuel Georges 1123b83cf0 Merge pull request #1343 from gabsource/fix-extending-plugin
Fix error when extending plugin by adding a new side menu item
2015-08-08 11:45:29 +10:00
Samuel Georges d537cef720 Merge pull request #1347 from powelski/resolve-1272
Escape HTML for .txt contents
2015-08-08 11:40:58 +10:00
Samuel Georges c139a324d1 Tidy up code - refs #1318 2015-08-08 11:39:48 +10:00
Samuel Georges 56c8053288 Merge pull request #1318 from gabsource/Issue-#1310
Fix the switching tab bug when calling ocTab.updateTab()
2015-08-08 11:32:01 +10:00
Samuel Georges 2cf1d707ad The API response for insert / insert+crop should be identical
This is because the 'onInsert' callback is used for both actions, yet yielded different results causing breakages
Fixes #1281
Also improved code readability in some places
2015-08-08 11:17:56 +10:00
Samuel Georges fbb6a5f3f1 Recompile lang assets 2015-08-08 11:14:34 +10:00
Krzysztof Powelski 8547b8c184 Improve Polish translations
Fix indentation
2015-08-08 10:33:08 +10:00
Nicola Marini b579891164 Update lang.php
Update lang.php

Update lang.php

Update validation.php

Update lang.php

Update lang.php
2015-08-08 10:31:17 +10:00
Samuel Georges 303a985caa Merge pull request #1346 from powelski/polish-auto-close
Translate auto closing option to Polish
2015-08-08 10:29:04 +10:00
Samuel Georges 6ae1d0c047 Merge pull request #1345 from powelski/translatable-auto-close
Make backend auto closing option label translatable
2015-08-08 10:27:59 +10:00
Tom d6f1a4a125 update simplified chinese 2015-08-08 10:26:10 +10:00
Jérémy GAULIN 70a335e1fd Remove a double space
Fix sentences

More grammatically accurate messages.

Prevents wrong messages like "Le auteur" (should be "L'auteur") by using "Le champ auteur".
2015-08-08 10:22:49 +10:00
Samuel Georges 20e9462006 Merge pull request #1341 from filipac/master
Auto closing option translation in Romanian
2015-08-08 10:20:14 +10:00
Szabó Gergő 909b1ec374 Improve multilanguage support 2015-08-08 10:17:24 +10:00
Samuel Georges 85eeaa0257 Retranslate 2015-08-08 10:13:22 +10:00
Finjon Kiang cebf7466a9 add new language zh-tw / Chinese (Taiwan) 2015-08-08 10:12:23 +10:00
Samuel Georges 0cd0dc5b62 Add keywords to log pages 2015-08-08 09:38:47 +10:00
Samuel Georges 99ac1bad20 Merge pull request #1357 from tsioukas/patch-1
System Client.php Greek Language
2015-08-07 20:53:40 +10:00
Samuel Georges 556eff359c Clean up docs, add inset mode to tab panes 2015-08-07 19:10:31 +10:00
Samuel Georges 1b4e4b08fd Fixes a styling issue in MarkdownEditor split mode 2015-08-07 19:06:36 +10:00
Samuel Georges fc04bd1b4c Added new makeFormWidget() method to WidgetMaker for rendering form widgets individually 2015-08-07 19:06:04 +10:00
Samuel Georges ad60afebc4 Make the default admin group code a constant
We should consider locking this record attribute in future?
2015-08-07 18:43:05 +10:00
Antony Tsioukas 7971633993 Update Greek Language 2015-08-07 10:36:04 +03:00
Samuel Georges 891c034496 Fixes missing ref to storm UI on auth page 2015-08-07 17:35:04 +10:00
Antony Tsioukas 03235129ac System Client.php Greek Language 2015-08-07 10:32:52 +03:00
Samuel Georges 881e68c1ca Preview mode has no upload button, so no margin 2015-08-06 18:04:18 +10:00
Samuel Georges f4890eec0c Add better support for pivot relations in lists 2015-08-05 19:53:05 +10:00
Samuel Georges 2c646878a0 Add $.oc.listGetChecked helper 2015-08-05 19:52:50 +10:00
Samuel Georges be155cc39f Add inverse goal meter
...because some goals can be bad, like an unsubscription rate
2015-08-05 17:56:35 +10:00
Samuel Georges 4901c54d4f Fixes clash with progress bar and remove link 2015-08-05 10:24:16 +10:00
Samuel Georges 241ea68468 Add auto column match feature to import 2015-08-05 10:23:14 +10:00
Krzysztof Powelski 9c3f83c54f Escape HTML for .txt contents 2015-08-05 00:00:43 +02:00
Krzysztof Powelski 22be6e4a37 Translate auto closing option to Polish 2015-08-04 23:49:48 +02:00
Samuel Georges 23dc27e679 Ensure the models primary key is always available in the URL values
Fixes https://github.com/rainlab/forum-plugin/issues/74
2015-08-05 07:48:18 +10:00
Krzysztof Powelski a63375cd5b Make backend auto closing option label translatable 2015-08-04 23:40:51 +02:00
Samuel Georges 54e06694da Add trigger api support to datepicker 2015-08-04 20:04:25 +10:00
Samuel Georges 9ecf75307b Add exception handling and permissions definition 2015-08-04 20:04:11 +10:00
Samuel Georges 8166c5ad6a Add encodeArrayValue | decodeArrayValue helpers 2015-08-04 20:03:24 +10:00
Samuel Georges 5b8d436c5e MDEditor now supports pausing updates + adding toolbar buttons 2015-08-04 10:05:18 +10:00
Samuel Georges 0a35bb13a2 Update foundation plugin pattern
The API should support returning values, like jQuery does with .val() it will return the first element's value
Using a dedicated API on the plugin is much better than going in with .data('oc...') to access the object which is hacky since the internals might change
2015-08-04 10:03:48 +10:00
Samuel Georges b010732796 These methods should be protected, update client lang 2015-08-04 10:01:17 +10:00
Jérémy GAULIN 2872e80a14 Merge branch 'develop' of https://github.com/octobercms/october into fix-extending-plugin 2015-08-03 18:20:20 +02:00
Jérémy GAULIN 2a374e87e8 Merge branch 'develop' of https://github.com/octobercms/october into Issue-#1310 2015-08-03 18:19:14 +02:00
Jérémy GAULIN f22a16d482 Fix NavigationManager error when extending a side menu by adding a new item.
The code and owner were not set in the value array.
2015-08-03 18:07:56 +02:00
Samuel Georges e75d988fc0 Recompile assets 2015-08-03 20:15:00 +10:00
Samuel Georges 52361e9b4d Merge pull request #1324 from acwoss/develop
Update pt-br lang
2015-08-03 20:12:57 +10:00
Samuel Georges d7eb4deac5 Merge pull request #1321 from Flynsarmy/filterEmptyCsvImportRowsClosure
Filter out empty CSV rows before import
2015-08-03 20:11:19 +10:00
Samuel Georges 336cea26e3 Merge pull request #1326 from Flynsarmy/CsvcreateFromPathPermissions
Only read permission is required for imports
2015-08-03 20:08:12 +10:00
Samuel Georges b4709256ef Merge pull request #1327 from dshoreman/fix-chrome-height-bug
Fix height issues introduced in Chrome 45
2015-08-03 20:07:43 +10:00
Samuel Georges 8cd97b27a6 Add prettify, update Ace, recompile assets 2015-08-03 19:00:45 +10:00
Samuel Georges 3e898064e1 Translate some client side strings 2015-08-03 18:59:37 +10:00
Samuel Georges 20411f6fb1 Finish formatting logic + Add Media Manager buttons 2015-08-03 18:58:22 +10:00
Filip Iulian Pacurar d0a55eed0c Auto closing option translation in Romanian
Translation for pull request #1336
2015-08-03 09:08:25 +03:00
Samuel Georges aef1964553 Add basic preview mode 2015-08-01 20:20:43 +10:00
Samuel Georges c6409a8680 Minor exception handling 2015-08-01 17:06:49 +10:00
Samuel Georges a2e69e3cce Dynamically build markdown editor toolbar, add first button action 2015-08-01 17:06:39 +10:00
Samuel Georges 52fa1b4f66 Relation create for belongsTo support deferring - refs #1329 2015-08-01 13:03:30 +10:00
Samuel Georges ce4636d59a Add support for deferred binding for belongsTo relations - Refs #1329 2015-08-01 11:34:22 +10:00
Samuel Georges aaebea4716 Tidy up the DB Event logger, add failsafe
If there is a problem with the Model, don't try to log with a broken model (infinite loop), this can be confirmed by checking if the Model class alias exists
2015-08-01 11:15:17 +10:00
Samuel Georges 5c736df2ee Adds other asset folders we are aware of - Refs #1331 2015-08-01 08:57:10 +10:00
Samuel Georges 2b3f17adea Revise Script UI docs 2015-07-31 18:05:30 +10:00
Dave Shoreman 12353036a3 Update source LESS files 2015-07-31 08:57:14 +01:00
Samuel Georges c17d47bf3e Revise ui docs 2015-07-30 21:34:04 +10:00
Samuel Georges 387f14ce17 Revision to UI docs, minor pixel adjustment to fixed dd 2015-07-30 19:46:30 +10:00
Samuel Georges 252a34dc08 Adds alt syntax for tooltip
data-toggle will conflict with dropdown, eg: data-toggle="dropdown" data-control="tooltip"
2015-07-30 19:45:54 +10:00
Dave Shoreman eac25c69de Fix height issues introduced in Chrome 45
The `height:100%` rule applied to .layout is inherited by both the
backend navbar, and the search box of the settings sidebar.

This fixes the issue by specifically applying `height:auto` to the
affected elements.
2015-07-30 08:20:15 +01:00
flynsarmy 0dcda7a014 Only read permission is required for imports 2015-07-30 13:48:55 +10:00
Anderson Carlos Woss bfdcfa69da Update PT-BR lang 2015-07-30 00:37:23 -03:00
flynsarmy f573438c90 Filter out empty CSV rows before import 2015-07-29 21:59:09 +10:00
Samuel Georges b1286f8252 Remove font 2015-07-29 20:32:13 +10:00
Samuel Georges fae4a4b65c Improve editor toolbar styles, tidy up md editor 2015-07-29 20:29:02 +10:00
Samuel Georges 934f77a1f3 Implement dropdown-fixed mode. 2015-07-29 20:03:48 +10:00
Samuel Georges ebfa4596ea Attempt to make dropdowns in toolbars work, update head refs 2015-07-29 19:19:08 +10:00
Samuel Georges d2da170864 Introduce MarkdownEditor base code 2015-07-29 19:18:42 +10:00
Samuel Georges 3f58cd70fc And client-side locale messages 2015-07-29 19:17:38 +10:00
Samuel Georges fdbd5d8b3c Update redactor to latest, minor cleanup 2015-07-29 19:17:05 +10:00
Samuel Georges ac193a15c3 Minor style fix 2015-07-29 19:16:07 +10:00
Samuel Georges e6a17f8f2b Support multiple children inside .layout-cell.width-fix 2015-07-29 19:15:42 +10:00
Samuel Georges 2a26aa6889 Fixes combiner to only move ../css when in ./less 2015-07-29 19:14:54 +10:00
Samuel Georges 525392ac2c global.less now provides all mixins and variables (KISS) 2015-07-29 19:14:26 +10:00
Samuel Georges f47b99d183 Move storm to its own build 2015-07-29 19:13:42 +10:00
Samuel Georges 3a2b94829a Fixes syntax error in "system/lv" lang, write test to prevent further breakages 2015-07-29 08:20:22 +10:00
Samuel Georges 690d7f0a02 When installing a theme don't install existing plugins
Minor fix to callout in update popup
2015-07-28 19:56:24 +10:00
Samuel Georges bb4c2da404 Revert change from #1315, fixes original issue, write tests 2015-07-28 18:52:12 +10:00
Samuel Georges fa0d110ecf Remove redundant variable 2015-07-28 17:47:56 +10:00
Samuel Georges 837a61a2a3 Merge pull request #1315 from gabsource/Issue-#1309
Fix the modified items counter in the backend sidenav
2015-07-28 17:46:29 +10:00
Jérémy GAULIN 98b56234c9 Updating a tab was changing the HTML `data-*` attributes but did not update the jQuery `.data()` cache - fixes #1310 2015-07-27 12:36:51 +02:00
Jérémy GAULIN 0efaaa37bb The javascript module expect the itemcode to be the key of the item in the configuration array. This fixes the partial to use the code instead of the 0-indexed value.
Should close #1309
2015-07-27 11:57:50 +02:00
Samuel Georges dbac4809f6 Resurrect the list export feature - fixes #1313 2015-07-27 08:50:26 +10:00
Samuel Georges c3d44fb0b4 Merge pull request #1307 from GeGeek/patch-2
Update lang.php
2015-07-25 15:39:34 +10:00
Samuel Georges 7cc4f3b6ac Merge pull request #1301 from bombozama/master
Spanish translation fix
2015-07-25 15:39:22 +10:00
Samuel Georges 04deb50c59 Merge pull request #1297 from bombozama/patch-1
Translatable prompt on recordfinder
2015-07-25 15:39:04 +10:00
Tom 5dcbd8c0e1 Update Backend Chinese Language File 2015-07-25 15:29:07 +10:00
Tom 506f7502ea update Chinese Language File 2015-07-25 15:29:07 +10:00
Samuel Georges 93f7b7800b Merge pull request #1306 from Flynsarmy/numberPattern
Allow overriding number field pattern attribute
2015-07-25 15:28:46 +10:00
Asselin de Beauville 26882346c4 Update lang.php
Updated 'settings_menu' var.
2015-07-25 07:28:43 +02:00
Samuel Georges e2f32cc928 Merge pull request #1304 from psoots/ps/db-history-order
Ensuring version order of database histroy.
2015-07-25 15:28:30 +10:00
Samuel Georges d931c6ecfc Merge pull request #1296 from mrmlnc/path-1
Update Ru_lang to current status develop branch
2015-07-25 15:19:13 +10:00
Samuel Georges 77e388f5ff Merge pull request #1295 from gergo85/master
Updated Hungarian language
2015-07-25 15:18:40 +10:00
Samuel Georges bdc05a20fe Merge pull request #1291 from DZB-Team/develop
Some new language strings...
2015-07-25 15:18:17 +10:00
Samuel Georges dab54d2a2c Merge pull request #1290 from gpasztor87/codeeditor
Add searchbox extension to codeeditor
2015-07-25 15:17:57 +10:00
Samuel Georges 0ba10f26bd Update polish translation
Update polish translation

Update polish translation

Update polish translation

Update polish translation

Update polish translation

Update polish translation

Update polish translation
2015-07-25 15:10:26 +10:00
Samuel Georges d6d48b4580 Merge pull request #1285 from bilgorajskim/bilgorajskim-patch-1
Update Polish translation
2015-07-25 15:04:52 +10:00
Samuel Georges e75bc5c131 Merge pull request #1283 from Galixte/patch-4
Update of FRENCH language for OctoberCMS
2015-07-25 15:03:22 +10:00
Samuel Georges 561adcfb37 Merge pull request #1279 from tsioukas/patch-1
Added new phrases on Greek Language
2015-07-25 15:01:01 +10:00
Samuel Georges a5531f931b Manual merge - fixes #1278 Thanks @Freakspot 2015-07-25 15:00:19 +10:00
Samuel Georges f715fa4228 Grants an opportunity to manipulate the primary widgets 2015-07-25 14:48:17 +10:00
Samuel Georges ccb28a2cfe The RelationController::relationExtendQuery method should be removed when scopes are respected - a relation scope is an extension of the query #1203 2015-07-25 14:28:33 +10:00
Samuel Georges fc62ca7c7f Event is supposed to come *after* default constraints 2015-07-25 14:22:31 +10:00
Samuel Georges 3866ccbb20 This really shouldn't be here 2015-07-25 14:19:34 +10:00
Samuel Georges 0f215785f3 Rollback the idea of using $visible on CmsCompoundObjects
This feature should be reserved for serializing the object (in future maybe) rather than defining visible properties, these should be relaxed.
2015-07-25 11:07:36 +10:00
Samuel Georges 48b4a137fa Allow passing explicit content to hints 2015-07-25 09:34:47 +10:00
Samuel Georges d453f922dc Improve the hint API, add inset mode to loader 2015-07-25 09:23:34 +10:00
Samuel Georges 4781c703bb Fixes previewMode on checkboxlist and radio
Checkboxlist wasn't showing the placeholder for empty preview values
2015-07-25 09:22:22 +10:00
Samuel Georges 502263e11b Finishing import/export redirects to the defined url 2015-07-25 09:21:43 +10:00
Antony Tsioukas 9a10c1f53b Greek option added on select list 2015-07-24 10:22:15 +03:00
flynsarmy a5b41269e7 Allow overriding number field pattern attribute 2015-07-24 16:24:50 +10:00
Samuel Georges fc490b18e9 Add actionUrl() helper to backend controller
Used for generating URLs to the current controller
2015-07-23 19:44:54 +10:00
Samuel Georges 46bfa78cef Remove export function from List behavior 2015-07-23 19:44:30 +10:00
Samuel Georges d0742653d1 Implement exporting function modeled after import function 2015-07-23 19:44:19 +10:00
Samuel Georges 5be21f6231 Allows custom options to be specified via form fields 2015-07-22 18:30:50 +10:00