Commit Graph

287 Commits

Author SHA1 Message Date
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
= ef5e54aa1a Allow SVG in image upload 2015-01-06 11:40:45 +01:00
alekseybobkov e3216614a9 Added code comments 2015-01-04 20:32:34 -08:00
Samuel Georges b74b19741b Unify the logic for getting field values from a dataset
Amongst Form Widgets and "the" Form widget
ping @alekseybobkov
2015-01-05 12:54:14 +11:00
Samuel Georges 5d2a177646 getModelArrayAttribute -> resolveModelAttribute 2015-01-05 11:18:43 +11:00
Samuel Georges d91d4112a5 getLoadData -> getLoadValue 2015-01-05 09:45:04 +11:00
Samuel Georges 0be582c42d getSaveData -> getSaveValue 2015-01-05 09:43:39 +11:00
alekseybobkov 7e5ce04a79 Merge branch 'develop' into dynamic-partials 2015-01-03 16:41:25 -08:00
alekseybobkov 6440b718d8 Updates in the rich editor styling, minor improvements in the Inspector and CMS core. 2015-01-03 16:39:38 -08:00
Samuel Georges 85b97c5419 Refs #850 - Minor code clean 2015-01-03 15:48:07 +11:00
Samuel Georges 735ede7d47 Merge pull request #850 from scottbedard/patch-2
Valid strtotime() format when time is left empty
2015-01-03 15:45:01 +11:00
Samuel Georges ae8289735c Rem unneeded file 2015-01-03 15:15:52 +11:00
Samuel Georges be702900d7 Rem debug code 2015-01-03 13:20:40 +11:00
Samuel Georges 7dd147a62a Create initial DataTable form widget 2015-01-03 11:57:50 +11:00
Scott Bedard 8286880148 Valid strtotime() format when time is left empty
Date-type laravel validation ("date", "before", and "after") may not be used with datetime widgets containing empty time fields because they are not in a valid strtotime() format (example: 2014-12-27 :00).

This extra check ensures a valid strtotime() format by only adding the ":00" seconds value when a time value is present.
2014-12-27 17:33:27 -05:00
Adam 04e02727ce Type in oc-icon-paperclip class
Fixed type in oc-icon-paperclip class (from paper-clip to paperclip) which meant that the attachment link wasn't showing in backed.
2014-12-15 11:49:30 +00:00
Chris Harvey 78fb9fb110 Correcting class name for missing relation exception 2014-12-10 11:34:05 +00:00
Samuel Georges ab24c547a2 Move NO_SAVE_DATA to FormField 2014-12-05 16:46:04 +11:00