Commit Graph

604 Commits

Author SHA1 Message Date
Samuel Georges fe3b61f802 Merge pull request #2157 from prasanth-darsan/develop
error on saving attachment config when in pivot form of a relation
2016-07-07 07:59:42 +10:00
Samuel Georges 68923d406b Update Froala to latest (2.3.3)
Recompile assets
2016-07-05 20:08:44 +10:00
Samuel Georges 4ca30f9888 Beautify saved content 2016-07-05 19:58:51 +10:00
Samuel Georges 43eb8c4946 Logic error. Fixes #2154 2016-07-01 18:56:58 +10:00
Prasanth Darsan 6cc50b8ca8 Fixed error on saving attachment config when its put on pivot form of a relation 2016-06-28 23:17:27 +05:30
Samuel Georges 7d171f4453 Merge pull request #2105 from triasrahman/develop
Fix fileupload image css on sidebar
2016-06-11 15:34:01 +10:00
Samuel Georges 927250e9c9 Allow customization of default rich editor buttons
Fixes #2078
Recompile assets
2016-06-11 13:51:34 +10:00
Samuel Georges 536a4b382c RecordFinder can specify number of records per page
Fixes #2082
Fix spacing on composer.json
2016-06-11 13:37:36 +10:00
Trias Nur Rahman b2df9d63ec Fix fileupload image css on sidebar 2016-06-07 22:44:35 +07:00
Samuel Georges bb5a44ced5 Add get/set content to code editor plugin
Fixes plain text / snippet editor issue
Fixes #2059
2016-05-29 08:54:22 +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 47d0a2677c UI Blocks can now be moved by dragging
Page links handler is now strict definition
Use more explicit naming for config_dashboard config
We have to use the codeeditor for mail templates for now, since froala is not playing nicely with twig
2016-05-27 05:21:50 +10:00
Samuel Georges ca8d8e4b39 Streamline event names and add get/set functions 2016-05-26 06:25:02 +10:00
Samuel Georges 30f7c03718 Fixes colorpicker when used inside a popup
Fixes #1145
Refs #1021
2016-05-25 06:37:03 +10:00
Samuel Georges 6b8f7b0dd9 Update MD editor to use new toolbar 2016-05-25 05:19:24 +10:00
Samuel Georges 4c50c23654 Refit the Predefined Page Links implementation
Refs #2005
2016-05-25 05:19:12 +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
Samuel Georges e3f777b192 Native Rich Editor messages should remain multi-lingual
Refs #2005
2016-05-22 07:41:38 +10:00
Samuel Georges af19341c01 "Quick Uploads" are dumped in a special folder via media manager
Refs #2005
Remove the active state on media manager table data for consistency with other view modes
2016-05-22 07:24:04 +10:00
Samuel Georges bcacc326bd Update Froala to latest 2016-05-22 05:21:19 +10:00
Samuel Georges a33cf2ac8c Unify z-index's across all controls
Refs #1021
2016-05-21 15:17:14 +10:00
Samuel Georges aae177e7bc Create "windex" z-index window manager
Convert all storm UI z-indexes to variables
Refs #1021
2016-05-21 14:42:10 +10:00
Samuel Georges f936ff64f8 Continuity styling changes
Remove default predefined links from rich editor
2016-05-21 13:51:11 +10:00
Samuel Georges 79446aa464 Refit the media manager implementation
Refs #2005
2016-05-21 12:38:04 +10:00
Samuel Georges 67e05bc976 Remove redactor - Refs #2005 2016-05-21 08:16:40 +10:00
Samuel Georges 115fc0c1ef Refit the Block UI logic
Previously contained in richeditor (this is a bit messy, rich editor should be generic), the block UI logic has been moved to its own "figures" plugin
2016-05-21 06:58:34 +10:00
Samuel Georges 85decc4086 Style tweaks 2016-05-21 06:57:12 +10:00
Samuel Georges 9ad20d3b8d Continuity styling changes
Remove active states from inspector
Make the close (X) icons larger on CMS tabs and Components
2016-05-20 08:33:23 +10: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 d02a922868 Add custom toolbar button support
Style toolbar
Refs #2005
2016-05-20 04:35:40 +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
Samuel Georges 4789616190 Initial switch from Redactor to Froala 2016-05-19 13:13:30 +10:00
Samuel Georges 61970413a8 More backend styling
Tone down the shading in some areas
Reduce intensity of button icons
2016-05-19 07:00:34 +10:00
Samuel Georges 3bad70f041 Relation controller now applies the defined constraints by default
Relation controller now supports scope and conditions for the manage mode (list)
Logic has been modified across recordfinder and filter that only allows one constraint in this order (1. conditions, 2. scope, 3. defined constraints (where applicable))
Fixes #1203
2016-05-17 05:17:40 +10:00
Samuel Georges cb86e655dd Fixes disabled relation nulling value
Just like DatePicker, relation and even regular fields should omitted from the data set
The same logic should apply to hidden fields
Fixes #1827
Recompile assets
2016-05-15 06:47:28 +10:00
Samuel Georges d50c7591cf Move the datepicker to storm
Write docs on usage
2016-05-12 06:48:10 +10:00
Samuel Georges e2647dcf64 Move moment + pickers to storm 2016-05-12 05:54:41 +10:00
Samuel Georges 5400ec7d2d Complete taglist form widget 2016-05-10 06:02:35 +10:00
Samuel Georges 5d27682f25 Create new TagList form widget (Experimental)
Update Select2 to latest
2016-05-08 17:43:21 +10:00
Samuel Georges 1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges d3efc1af4c Make the datepicker preview mode show pretty dates
Improve styles of preview form controls
2016-04-26 06:59:02 +10:00
Samuel Georges 41fe2407be Add support for TIME db columns
Tacks on todays date so it remains compatible with the datepicker control. Without this, it returns "Invalid date"
2016-04-26 06:18:04 +10:00
Samuel Georges 733c77c3f1 Improvements to clockpicker
AM/PM time now loads correctly
Updating the input field manually is reflected in the data locker
2016-04-26 06:12:16 +10:00
Samuel Georges 39e91575af Write docs for datepicker plugin 2016-04-24 09:43:26 +10:00
Samuel Georges e772e87de5 Complete rebuild of datepicker form widget
The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference.

Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent.

There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended.
2016-04-24 09:33:39 +10:00
Samuel Georges 13fb0e6388 Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
Samuel Georges 6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges abaa65cc0e Cut back the design
Switch to hard lines
2016-04-22 08:21:08 +10:00
Samuel Georges 76faef7c17 Sync styles on media picker and file upload 2016-04-21 06:11:31 +10:00
Alexander Guth 13276a500e Add conditions config to RecordFinder
Fixes #1524
2016-04-21 05:36:53 +10:00
Samuel Georges f2d8fcaf14 Record finder now supports scopes and search options 2016-04-21 05:36:29 +10:00
Samuel Georges 51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Lucas Martín e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Samuel Georges be7b3b3009 Remove the cray defaults on datepicker
Recompile assets
Fixes #1920
2016-04-19 05:59:32 +10:00
jfoliveira 6a897b1072 Datepicker: allow specify display format (#1919)
* Apply datepicker `format` property reading from config.

* Using the format property on partial.
2016-04-19 05:11:40 +10:00
Samuel Georges 4043921834 Adds extra flavor to buttons
Reduce font sizes a bit
Fixes rogue hand from appearing when clicking drag scroll enabled elements
2016-04-07 20:17:48 +10:00
Samuel Georges ed6e01c2c5 File model is now abstract 2016-04-05 19:47:06 +10:00
Samuel Georges 838f836051 Revert the nav to the classic style
Various sizing fixes
Set the standard padding to 20px
Mute system links unless hover or active
Fixes an issue where the scroll indicator appears always on fancy layout, these containers cannot use padding!
Refs #1895
2016-04-04 18:37:55 +10:00
Samuel Georges 1785c6c0d8 pikaday -> datepicker 2016-03-26 12:53:45 +11:00
Samuel Georges 8e14b9b649 Recompile assets 2016-03-26 12:40:55 +11:00
Jérémy GAULIN f836b43bb3 Pikaday translation 2016-03-26 12:39:57 +11:00
Samuel Georges 5789d0242f Fixes single image uploader breaking with comment
Comment appears to the right of the uploader, should be under it
2016-03-25 18:21:21 +11:00
Samuel Georges 23f4d40ef2 Merge common functionality in to FormModelWidget 2016-03-25 18:01:58 +11:00
Samuel Georges 484579ac40 Sreamline events in richeditor
Add nwe event for visual mode (when visual mode is activated from code mode)
Always use spaces in redactor
2016-03-23 20:10:55 +11:00
Samuel Georges e9c7e6b9d1 No it is not safe to share the alias and field name...
The field name could be nested, for example: user[data]
Using this as an alias is user[data]::onDoSomething
Resulting in an invalid AJAX handler name
2016-03-17 19:50:34 +11:00
alekseybobkov aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
Samuel Georges 1241f584d0 Merge remote-tracking branch 'remotes/origin/stable' into ui 2016-03-01 07:02:07 +11:00
Samuel Georges fd16f38b11 Implement file definitions (extensions + ignore files)
Block "unsafe" extensions from being uploaded to the Media manager
Fixes #1801
2016-02-29 18:12:26 +11:00
alekseybobkov 00ced6c79f UI update 2016-02-28 19:52:21 -08:00
Samuel Georges d76863a3ec Merge branch 'develop' into stable
Conflicts:
	composer.json
2016-02-27 14:55:52 +11:00
alekseybobkov b1770626d7 UI updates 2016-02-23 21:44:05 -08:00
alekseybobkov 6ed4bd5ef6 Updates in the UI 2016-02-22 21:52:23 -08:00
alekseybobkov a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Samuel Georges 35c9f7e590 Merge pull request #1768 from jfoliveira/recordfinder_fix_hardcoded_id
Fix hardcoded column name `id` on recordfinder form widget
2016-02-13 16:42:56 +11:00
Samuel Georges 6347f2bb03 Complete multilingual richeditor support
Refs #1652
2016-02-13 12:59:49 +11:00
Szabó Gergő 7fb1ed9bdb Add multilingual support to Rich editor 2016-02-13 12:08:27 +11:00
Jeferson Oliveira 6ae4742ff4 Fix hardcoded column name `id` by reading the `keyFrom` option defined in the .yaml file. 2016-02-10 08:45:21 -02:00
Samuel Georges 6d8ec9b4dc Fixes data source polluting base proto
Recompile assets
2016-02-10 20:22:50 +11:00
flynsarmy c62eb8fb86 Remove brackets from table widget alias 2016-02-04 21:25:33 +10:00
Samuel Georges 2855a4e344 Fixes issue in uploader when one of the dimensions is auto 2016-01-16 15:13:42 +11:00
Samuel Georges d34350a7b1 Merge branch 'develop' into stable 2016-01-16 10:20:21 +11:00
Pásztor Gábor 4af9a374d6 Minor fix in timepicker 2016-01-14 13:17:45 +01:00
Pásztor Gábor 373c31a8e7 Remove deprecated DataGrid formwidget 2016-01-09 16:41:56 +01:00
alekseybobkov 7d9d2176ef Merge branch 'builder-ui' into develop
Conflicts:
	modules/system/assets/ui/js/input.monitor.js
	modules/system/assets/ui/js/inspector.editor.object.js
	modules/system/assets/ui/storm-min.js
2015-12-24 14:36:31 -08:00
alekseybobkov e6d93cf3d4 Added YAML mode for the code editor 2015-12-10 21:41:27 -08:00
Samuel Georges a186a60c43 Fixes the datepicker saving an empty value when disabled
Refs https://github.com/responsiv/campaign-plugin/issues/4
2015-12-09 08:19:53 +11:00
Samuel Georges 92e1d1bf13 Merge pull request #1606 from gergo85/master
Add alignment button to Rich editor
2015-12-05 10:22:31 +11:00
Samuel Georges 4db92fa8b5 Alt fix for #1585 2015-12-05 08:47:07 +11:00
Samuel Georges f77f412f2f Merge pull request #1585 from brunoti/develop
Add filetypes of FileUpload formwidgets in uppercase too
2015-12-05 08:45:02 +11:00
Samuel Georges 32a079cfd1 Merge pull request #1621 from gergo85/patch-3
Improve the multilingual support
2015-11-28 16:17:41 +11:00
Samuel Georges 030e1977e8 Relation form field now supports model attributes in "nameFrom"
nameFromSelect -> select|sqlSelect
Refs https://github.com/octobercms/october/pull/1579
2015-11-28 15:31:11 +11:00
Samuel Georges 7885074cb0 Merge pull request #1579 from JoelESvensson/relation-select-from-name
Added support for 'nameFromSelect' in relation form fields
2015-11-28 14:43:04 +11:00
Samuel Georges ca4a6e9679 Remove some unnecessary code from #1575 2015-11-28 11:24:34 +11:00
Samuel Georges 165c1daf7a Merge pull request #1575 from SaifurRahmanMohsin/develop
Make recordfinder's popup list title configurable
2015-11-28 11:12:38 +11:00
Samuel Georges 6ebe187db1 Fixes issue removing existing uploads 2015-11-28 09:24:20 +11:00
Szabó Gergő 73c70a15ed Improve the multilingual support 2015-11-24 22:00:05 +01:00
Szabó Gergő fe54f8ac24 Add alignment button to Rich editor
I think the alignments are basic features.
2015-11-18 14:09:58 +01:00
Samuel Georges b6ba31bd86 Fixes exception on removeChild(null)
Fixes danger on danger color scheme
2015-11-14 18:27:01 +11:00
BruNo Oliveira 8c051d4655 Add filetypes of FileUpload formwidgets in uppercase too 2015-11-06 08:56:32 -02:00
Samuel Georges 73ed24c4c1 Repeater should purely render fields, with no container or tabs
Refs https://github.com/rainlab/pages-plugin/pull/95
2015-11-05 07:31:35 +11:00
Joel E. Svensson e992e95ae3 Added support for 'nameFromSelect' in relation form fields 2015-11-03 14:34:16 +01:00
Saifur Rahman Mohsin 3c67c2f8bc Make recordfinder's popup list title configurable
When selecting record using the recordfinder, by default the popup list
shows **Find Record** as the title. Made this field a user configurable
field, and kept **Find Record** as default if not specified. Also,
added this default string to the lang file.
2015-11-02 00:09:26 +05:30
Samuel Georges 6203970122 Progress bar should turn red on error - refs #1518
Tidy up progress bar control, streamline brand colours
2015-10-17 12:17:10 +11:00
Samuel Georges f2e13ba3eb Simplify #1475 2015-10-17 08:54:40 +11:00
Samuel Georges 54b4223660 Merge pull request #1475 from patrickward/develop
Allow minDate/maxDate to be entered in date format for DatePicker. Fixes #909.
2015-10-17 08:42:45 +11:00
Samuel Georges 22252638a8 Because W3C 2015-10-16 17:50:53 +11:00
alekseybobkov a5b217ff0b Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
	modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
Samuel Georges 5713dfbf86 Disable fixed toolbar - fixes #1463 2015-10-10 20:45:09 +11:00
Samuel Georges ddba926e2a Update redactor to latest 2015-10-10 20:36:37 +11:00
Samuel Georges d4cf2f7178 Spaces in URLs break Markdown syntax
Fixes https://github.com/rainlab/blog-plugin/issues/136
Recompile all assets
2015-10-10 09:09:40 +11:00
Patrick Ward 20704bca67 Allow minDate/maxDate to be entered in date format for DatePicker. Fixes #909. 2015-09-29 19:02:42 -04:00
Samuel Georges beca2dddc2 Fixes the full screen button in code editor 2015-09-25 06:01:59 +10: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
alekseybobkov fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07: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 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
alekseybobkov 268b918a51 Merge branch 'master' of github.com:octobercms/october into builder-ui 2015-08-27 18:30:45 -07: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
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 793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +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 90d2b87180 Focus record finder search when it opens - Fixes #1388 2015-08-24 07:31:49 +10:00
Samuel Georges d24f7252b3 Stops nested repeaters populating from previous sibling - Fixes #1381 2015-08-22 10:18:41 +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 881e68c1ca Preview mode has no upload button, so no margin 2015-08-06 18:04:18 +10:00
Samuel Georges 4901c54d4f Fixes clash with progress bar and remove link 2015-08-05 10:24:16 +10:00
Samuel Georges 54e06694da Add trigger api support to datepicker 2015-08-04 20:04:25 +10:00
Samuel Georges 5b8d436c5e MDEditor now supports pausing updates + adding toolbar buttons 2015-08-04 10:05:18 +10:00
Samuel Georges b010732796 These methods should be protected, update client lang 2015-08-04 10:01:17 +10:00
Samuel Georges e75d988fc0 Recompile assets 2015-08-03 20:15:00 +10:00
Samuel Georges 8cd97b27a6 Add prettify, update Ace, recompile assets 2015-08-03 19:00:45 +10:00
Samuel Georges 20411f6fb1 Finish formatting logic + Add Media Manager buttons 2015-08-03 18:58:22 +10:00
Samuel Georges aef1964553 Add basic preview mode 2015-08-01 20:20:43 +10:00
Samuel Georges a2e69e3cce Dynamically build markdown editor toolbar, add first button action 2015-08-01 17:06:39 +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 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 d2da170864 Introduce MarkdownEditor base code 2015-07-29 19:18:42 +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 04deb50c59 Merge pull request #1297 from bombozama/patch-1
Translatable prompt on recordfinder
2015-07-25 15:39:04 +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 8a4ac533e5 Escape file title - Fixes #1302 2015-07-22 10:41:51 +10:00
Gonzalo Henríquez 13606ac770 Translatable prompt on recordfinder
Prompt could only be hardcoded into yaml files. Now able to work with language files.
2015-07-18 13:34:30 -03:00
Samuel Georges 846feb6a33 FileUpload now triggers dependsOn event
form.beforeRefresh event now uses dataholder pattern
Improve exception handling in ControllerBehavior
2015-07-18 08:50:31 +10:00
Pásztor Gábor 2652503d3f Add searchbox extension to codeeditor 2015-07-14 15:15:21 +02:00
Samuel Georges 061aaa9675 Fixes broken spacebar on code editor 2015-07-06 22:31:44 +10:00
Samuel Georges 461e4f75de Improve admin list toolbar
Change "Admins" group to "Owners" (more descriptive)
Fix bug in Firefox on Mediafinder form widget not respecting max-width 100%
Recompile assets
2015-07-04 09:34:35 +10:00
Samuel Georges a1e1b52d6e Fixes bug where select2 cannot be selected in a popup
OL and UL and sane rich editor elements
Disable search on list setup form
2015-07-04 09:33:05 +10:00
Samuel Georges 8a12b2f37f Improve single image uploader 2015-06-30 15:27:26 +10:00
Samuel Georges bde07ef880 Fixes auto scaling image from breaking container in Firefox - Refs #1202 2015-06-27 11:41:42 +10:00
Samuel Georges 3681459935 Fixes styling of upload button in Firefox - Refs #1202 2015-06-27 11:35:55 +10:00
Samuel Georges 46ba4644f4 Minor style fix to file multi drag handle 2015-06-27 09:41:36 +10:00
Samuel Georges eb5af8ae85 Improve multilanguage support - Fixes #1228 2015-06-27 09:33:09 +10:00
Samuel Georges 0da649551b Complete pagelinks plugin for redactor 2015-06-25 12:59:59 +10:00
Samuel Georges 87e9996193 Add preview mode support to record finder 2015-06-25 11:05:53 +10:00
Samuel Georges c813318729 Added preview mode support to File upload widget
Widget also passes CSRF token
Switched to using a header instead of POST flag
2015-06-25 10:55:46 +10:00
Samuel Georges 453d2fda56 Add the links handler to rich editor
Other small fixes
2015-06-24 17:36:59 +10:00
Samuel Georges 7b54d4c7c4 Bundle all the code editor assets to a single file
Also fixes a weird warning coming from Ace editor
2015-06-24 17:36:01 +10:00
Samuel Georges dbe5141189 Add plugin to extend links popup with predefined links (unfinished) 2015-06-24 17:32:06 +10:00
Samuel Georges 997b7cb188 Update redactor to latest, remove minified version (not needed) 2015-06-24 17:30:25 +10:00
Samuel Georges 029411a681 Update ace editor to latest and remove unwanted extensions 2015-06-24 17:29:08 +10:00
Samuel Georges e6f70eafdd Translate prompt for FileUpload + MediaFinder
Remove redundant language key
Recompile assets
2015-06-20 22:21:18 +10:00
Samuel Georges c2c14e707f Added backend route for protected thumbs, Fixes #1218, thanks @jBOKA
Improved the FileUpload widget code to no longer rely on "pathOverride"
2015-06-20 11:27:03 +10:00
Samuel Georges 50e4840216 Create 'extensions' custom validator
FileUpload can now specify mime types
2015-06-20 10:12:14 +10:00
Samuel Georges d827ce686a Minor tweaks 2015-06-14 14:13:15 +10:00
Samuel Georges 94ae0b7cbc Make prompt text configurable 2015-06-13 10:41:00 +10:00
Samuel Georges 335fbe6106 Touch ups 2015-06-13 10:31:01 +10:00
Samuel Georges 6420027a6a Finish single file uploader
FileUpload now supports:
- optional 'useCaption' flag
- imageWidth and imageHeight are now optional
- default file uploader uses default file types
2015-06-10 22:13:24 +10:00
Samuel Georges f95af91ef1 Finish rebuilding multi file uploader
Create stub for single file uploader
2015-06-09 18:51:35 +10:00
Samuel Georges 732679da57 This error doesn't vary at all 2015-06-06 16:54:52 +10:00
Samuel Georges 887b959156 Rebuild image based UI for FileUpload form widget 2015-06-06 16:52:38 +10:00
Samuel Georges bed7d0825f Fixes loading animation in various places 2015-06-03 19:22:18 +10:00
Samuel Georges 3e13d22b45 The hotkey for full screen mode is now Cmd+Shift+F or Ctrl+Shift+F in Windows.
Fixes #393
2015-05-09 12:39:37 +10:00
Samuel Georges ed56c866bc Remove cleanup redactor plugin because it breaks stuff 2015-05-02 09:46:35 +10:00
alekseybobkov bc4aa1495c Merge branch 'develop' into refactoring-profiling 2015-04-28 20:14:01 -07:00
alekseybobkov 20fb98d9a8 Refactoring and improvements in the back-end client-side memory management. 2015-04-28 20:13:04 -07:00
Samuel Georges 9c166b18be Fixes #1091 2015-04-28 21:59:18 +10:00
alekseybobkov 57777c0aad Ace editor updated to the latest version. Implemented the back-end controls utility class. Some back-end UI classes are updated and displsable now. Editor tabs on the CMS page now properly free memory and DOM elements when they're closed. 2015-04-25 22:48:49 -07:00
alekseybobkov a4ab611228 Merge branch 'develop' of github.com:octobercms/october into develop 2015-04-25 14:33:47 -07:00
alekseybobkov e3a4dd64c5 Fixed the Richeditor's UI blocks toolbar. 2015-04-25 14:32:32 -07:00
alekseybobkov 0e4db692af Refactored october.hotkey.js, codeeditor.js, richeditor.js. Minor fix in the rich editor styling. 2015-04-25 14:07:22 -07:00
Samuel Georges 87644166ad Adds internal download link for protected files 2015-04-25 12:53:54 +10:00
alekseybobkov fa48fbd8f0 Merge branch 'develop' into refactoring-profiling 2015-04-23 19:02:30 -07:00
alekseybobkov 594a849171 Fixes https://github.com/rainlab/pages-plugin/issues/38 2015-04-23 17:59:37 -07:00
Samuel Georges 7ad12350c6 Merge pull request #1074 from gpasztor87/master
Minor style fixes
2015-04-24 09:26:59 +10:00
Samuel Georges 9173e3bb9a Merge branch 'develop' into media-manager 2015-04-23 18:09:18 +10:00
alekseybobkov 6458149cd5 Disposing the code editor 2015-04-22 21:33:07 -07:00
alekseybobkov 43784bf5b9 Merge branch 'media-manager' into refactoring-profiling 2015-04-21 20:52:46 -07:00
Pásztor Gábor dd0c82544a Fixes in richeditor: z-index 2015-04-18 22:22:26 +02:00
alekseybobkov 87a2ea1350 Implemented Insert Video and Insert Audio features 2015-04-14 22:44:45 -07:00
alekseybobkov d8fd1c6d3e Refactored and unified the support of UI blocks in the Rich editor 2015-04-13 22:10:58 -07:00
Samuel Georges cf1988eeca Fixes #1068 2015-04-13 21:51:22 +10:00
Samuel Georges 0a26827abd Refs #1064 - Throw a nicer error here 2015-04-12 19:58:28 +10:00
alekseybobkov 06e5dce96a Fixed a conflict in framework.js. Closures in the script are named now, for the memory profiling needs.
Conflicts:
	modules/system/assets/js/framework.js
2015-04-11 18:58:24 -07:00
alekseybobkov c1740c479c Media Manager: implemented insert link, insert image, and crop and insert features. Minor fixes in October core and third-party JS plugins. 2015-04-11 18:55:02 -07:00
Samuel Georges bdd4b21748 Fixes #1028 - Update Redactor to 10.0.9 2015-04-11 11:27:33 +10:00
Samuel Georges 0b6587f771 Fixes #1019 - prevents lock out of full screen mode
Reorder system setting items
2015-04-09 20:20:08 +10:00
Samuel Georges 0f630c80d9 Improve framework code to support $(this) in data attributes 2015-04-08 07:44:26 +10:00
alekseybobkov 790b464679 Merge branch 'develop' into media-manager 2015-04-04 19:01:08 -07:00
alekseybobkov 332d92f538 Implemented image inserting to Redactor. 2015-04-04 18:59:36 -07:00
Dave Shoreman d18a0a6453 Add missing ApplicationException dependency
The relation backend formwidget throws an `ApplicationException` when a relation isn't defined, but the exception is missing its `use` statement. This PR adds it in. See error below:

![Screenshot showing error thrown](http://i.imgur.com/4Ka6fL2.png)
2015-04-01 19:13:42 +01:00
ebuster c15a61cfc8 Add missed Lang class using
Instead of message about my error I get message about system error in error message about my error.
2015-03-28 15:01:23 +03:00
Samuel Georges 3eede4a7b7 Reorganise and improve RelationController
Fix bug in DataTable limited to 10 records
2015-03-27 22:20:52 +11:00
Samuel Georges 44b037c21c Prevents doubling up of dataset 2015-03-25 19:33:19 +11:00
Samuel Georges 3c2494aa83 Improve DataTable form widget, fixes vague error in RecordFinder 2015-03-24 20:10:45 +11:00
Samuel Georges ad6447f5f2 Fixes #995 - Adds sorting to repeater 2015-03-23 20:03:37 +11:00
Samuel Georges 6bb1ee3b9a Update Relation Form widget to new approach, now supports nested field names 2015-03-23 20:02:59 +11:00
Samuel Georges 398177b006 Full pivot support added to RelationController 2015-03-19 20:01:08 +11:00
Samuel Georges a1ac5edbf7 Various minor fixes and improvements 2015-03-18 19:28:14 +11:00
Samuel Georges 2cf8ad8c27 Minor fixes, improvements to full screen rich editor 2015-03-06 18:54:45 +11:00
Samuel Georges fe5deb68e7 Repeater should populate with existing dataset 2015-03-05 19:02:23 +11:00
Samuel Georges be2e40e69f Add hypothetical loading of data 2015-03-04 19:13:15 +11:00
Samuel Georges 25d4c11f3f Typo 2015-03-04 19:09:59 +11:00
Samuel Georges 022eb4d673 Create initial version of repeater form widget 2015-03-04 19:05:32 +11:00
Samuel Georges 165d2f86e0 Combine datepicker JS assets, sync z-index for timepicker 2015-02-28 19:32:17 +11:00
Samuel Georges f8ae611ec9 Refactor form widgets to use new fillFromConfig() helper 2015-02-28 14:43:34 +11:00
Samuel Georges bb8292d883 Add warning about impending doom 2015-02-28 13:39:21 +11:00
Samuel Georges 85c47c4e01 public -> protected $defaultAlias 2015-02-28 12:43:53 +11:00
Samuel Georges 3524b17484 Fixes #973 - Double encode HTML entities in CodeEditor value 2015-02-28 10:38:04 +11:00
Samuel Georges 5b758e0d4c Merge pull request #950 from gpasztor87/master
Emmet support for Codeeditor
2015-02-21 15:05:44 +11:00
Samuel Georges c0839464fd Fileupload should detect the thumb extension 2015-02-20 22:12:24 +11:00
Pásztor Gábor 12bfc52941 Emmet support for Codeeditor 2015-02-18 20:54:36 +01:00
Samuel Georges 24f3168ce6 Check for empty arrays too 2015-02-14 21:40:49 +11:00
Samuel Georges 6bac3f9251 Fixes broken file uploads 2015-02-14 21:38:49 +11:00
Samuel Georges 7c5693b298 Added "Auto close tags and special characters" to Code editor preferences. 2015-02-14 19:50:12 +11:00
Samuel Georges c36971b8fc Minify and combine RichEditor assets 2015-02-14 16:40:50 +11:00
Samuel Georges 8fab7df4d9 Update redactor to latest 2015-02-14 16:36:08 +11:00
Samuel Georges 6a2f64757b *** REMOVED ALL DEPRECATED CODE ** 2015-02-14 14:11:25 +11:00
Samuel Georges fe611b8834 Input fields can now use icons, added icons to datepicker inputs 2015-02-13 22:57:55 +11:00
Samuel Georges 0a6e14f4d2 Popup control now supports several sizes via `data-size` attribute: giant, huge, large, small, tiny.
Fixes various bugs in RC version
2015-02-11 14:36:00 +11:00
Samuel Georges 9d649ebb1e Remove deprecated path symbols 2015-02-07 16:20:34 +11:00
Samuel Georges 8e1b4c2f68 Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
Samuel Georges beb818efa5 Merge branch 'develop' into laravel5
Conflicts:
	modules/cms/classes/CmsCompoundObject.php
	modules/system/ServiceProvider.php
2015-02-04 19:35:55 +11:00
Samuel Georges 694a7dfb74 Uploader now supports defining acceptable file types 2015-01-31 15:31:46 +11:00
Samuel Georges 6c5e4e421f Minor 2015-01-31 14:12:38 +11:00
Samuel Georges c7f3721b58 Refs #915 - fixes toolbars in fullscreen mode 2015-01-31 14:11:15 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Alex Bass ac70759e23 Fixed problem with white text on white background in editor 2015-01-22 16:12:57 -05:00
Samuel Georges a0490c3a4e Fix bad error message 2015-01-21 20:02:16 +11:00
Samuel Georges 46dd064aad Minor 2015-01-21 17:01:35 +11:00
alekseybobkov 39c4ec6371 Remove Redactor-specific markup and attributes from the edited text. 2015-01-15 21:35:39 -08:00
alekseybobkov 5d82dc5d10 minor 2015-01-14 19:41:42 -08:00
alekseybobkov f5aee22110 Improved default checkbox value handling in the Inspector. Imrpovements in the Redactor figure toolbar support. 2015-01-14 19:39:53 -08:00
Samuel Georges 363ef7fde3 Merge pull request #868 from Rias500/master
Allow SVG in image upload
2015-01-13 17:51:48 +11:00
Samuel Georges 66cc3a852f Minor fix 2015-01-13 17:26:53 +11:00
alekseybobkov c26545913c Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area. 2015-01-07 22:21:52 -08:00