Samuel Georges
cb56c61e36
Retain true backward compatibility with early repeater
2017-04-24 19:06:59 +10:00
Samuel Georges
d7ef8cdcf8
Minor logic change
2017-04-24 13:24:57 +10:00
Samuel Georges
6825ce12c8
Allow external group field definition - Refs #2772
2017-04-24 13:24:57 +10:00
Samuel Georges
c52f91a6d2
Collapsed items should default to or include the group name - Refs #2772
2017-04-24 13:24:56 +10:00
Samuel Georges
dac744dbc6
Scrollpad not rendering on open - Refs #2772
2017-04-24 13:24:56 +10:00
Samuel Georges
acfe619cb9
Add button lacks loading state - Refs #2772
2017-04-24 13:24:55 +10:00
Samuel Georges
ac7da4634a
Implement working prototype of a grouped repeater
...
Refs #2772
2017-04-22 22:01:17 +10:00
Samuel Georges
83e80745b3
Fixes issue with index incrementation
2017-04-22 21:40:35 +10:00
Samuel Georges
46fcdbc636
Progress on repeater field groups
...
Refs #2772
2017-04-22 21:04:37 +10:00
Samuel Georges
24c8b4368a
Various security and UI fixes
...
The Media Manager now uses a white list approach to blocking files, we have been advised that the blacklist approach is too fragile and we agree.
Asset List and Media Manager now use $.oc.alert when displaying errors
2017-04-09 08:00:56 +10:00
Christophe Vuagniaux
9e74fe6a53
Repeaters Firefox compatibility fixes ( #2738 )
...
* Repeaters fix Firefox collapse/expand buttons not working
* Repeaters fix Firefox open new tab when CTRL + click on Expand/Collapse buttons
2017-04-08 20:21:34 +10:00
Samuel Georges
982bc43348
Fixes recordfinder (again)
...
Lots of complicated stuff going on here, all elements are getting wiped out when a record is updated and the control is getting disposed at the same time. We've created a dedicated variable to store the datalocker name as a string, this represents a small memory leak but a necessary one it seems.
Fixes #2798
2017-04-07 07:48:04 +10:00
Samuel Georges
328a74c1ff
Fixes JS error in recordfinder
...
It looks like the inheritance of the foundation library has caused a logic error
Refs #2756
Recompile assets
2017-04-06 07:51:04 +10:00
Samuel Georges
f8e7fa03e0
Refactor remove option implementation
...
Refs #2756
Add disabled support
Fixes #1199
2017-03-22 09:26:05 +11:00
Samuel Georges
e8f6cb4dc5
Merge pull request #2756 from ChVuagniaux/RecordFinder-Remove-button
...
RecordFinder - add a remove button
2017-03-22 09:06:27 +11:00
juysoft
be7490c878
Update _recordfinder_form hard coded button "Cancel" text
2017-03-18 23:54:24 +02:00
Samuel Georges
b841f9e066
{@inheritDoc} -> @inheritDoc
2017-03-16 06:26:14 +11:00
Christophe Vuagniaux
91d39d275c
RecordFinder - add a remove button
2017-03-15 12:33:02 +01:00
Samuel Georges
5f91c45f79
Implement disabled support for some form widgets
...
Recompile assets
Fixes #2749 (Media Finder)
Fixes #2750 (File upload)
Fixes #2751 (Rich Editor)
Refs #2724
2017-03-14 13:52:47 +11:00
Szabó Gergő
8cfc10280a
Update Hungarian translation
2017-03-02 13:52:01 +01:00
Samuel Georges
e9cc782120
Peer review #2723
2017-03-01 14:31:37 +11:00
Luke Towers
3aa251db4e
Client side enforcement of repeater maxitems
...
Adds client side enforcement of the max items property of the repeater form widget
2017-02-28 20:43:08 -06:00
Luke Towers
5c56c9579d
Add support for maxItems to the Repeater FormWidget
...
Refs: #2710
2017-02-28 20:36:32 -06:00
Samuel Georges
023f2ac0f5
Push add/remove events to JS
...
Refs #2710 /cc @LukeTowers
2017-03-01 12:40:15 +11:00
Samuel Georges
13471b4178
Bump froala_editor to v2.4.2
2017-02-08 19:10:24 +11:00
Szabó Gergő
ebd476e00f
Update the Hungarian translate
2017-01-30 10:07:55 +01:00
Samuel Georges
e7609aa5e8
Improvements to repeater collapsing
...
Removed the expand all, collapse all buttons, they are a bit too bulky so have been replaced with the standard CTRL+click behavior.
Added foundation library to repeater.js
Add "titleFrom" option to specify which input to use for the collapsed title
Styling improvements
Refs #2632 + #2631
2017-01-28 11:59:28 +11:00
Christophe Vuagniaux
4dbe172a43
Repeaters add Expand Collapse buttons see #2631
2017-01-28 11:03:49 +11:00
Samuel Georges
c9bb4d396e
Merge pull request #2573 from sw-double/feature/datepicker-year-range
...
Support yearRange property for datepicker form field
2017-01-07 12:10:49 +11:00
Konstantin L
15cea23308
Support yearRange property for datepicker field.
2016-12-20 20:21:02 +01:00
Samuel Georges
afa2c83c3c
Fixes bug introduced by #2507
...
The many-to-many relationship types choke pretty hard on this enhancement, so only use it for the simple one-to-many/one-to-one style relations instead.
Fixes #2524
2016-12-04 10:48:22 +11:00
Luke Towers
33c2d1c3bb
Respect whitespace on disabled codeeditors
...
This wraps the contents of a disabled codeeditor field in an `pre` element so that the browser renders it respecting the formatting / whitespace of the contents (code in this widgets case) instead of squishing it all down.
2016-11-28 15:35:00 -06:00
Samuel Georges
f1d746abab
Merge pull request #2507 from oliverpool/patch-1
...
Use the otherKey to update a relation
2016-11-28 08:45:40 +11:00
Samuel Georges
29040b416c
Allow redirect: false on importExportController
...
Implement getFieldName() method
2016-11-28 07:50:06 +11:00
oliverpool
01193511d5
Use the otherKey to update a relation
...
If the `otherKey` of the relationship was set, the widget was considering the wrong column name.
2016-11-24 13:33:20 +01:00
Samuel Georges
a2a0b207c6
Expose isCodeViewActive API function
...
Recompile JS
2016-11-12 14:12:48 +11:00
Szabó Gergő
d1268c9905
Translate the Page link popup ( #2467 )
...
* Translate the Page link popup
* Remove the unnecessary dot
* Update the import/export Hungarian translation
* Update the Froala Hungarian translation
2016-11-10 07:39:29 +11:00
Samuel Georges
a313d4eb5b
Minor fixes
2016-11-10 06:49:45 +11:00
Samuel Georges
4aca2d40ff
Remove "allowClear" and tidy up #2459
...
Allow clear is not necessary, equivalent of allowClear false is "placeholder" and allowClear true is "emptyOption".
2016-11-07 08:43:52 +11:00
Samuell1
b320632eb4
Fixes taglist working inside a repeater
...
Fixes #2254
2016-11-07 08:08:48 +11:00
Samuel Georges
7b0f33e9b3
Adds an isNested flag to Form widget
...
This is useful when a form renders another form inside, specifically the repeater. In these cases the model and data will diverge, and it also provides an opportunity to not apply extension logic to nested form fields.
Fixes #2257
2016-11-05 09:53:23 +11:00
Samuel Georges
88196fb660
Allow passing an explicit format to datepicker
...
Refs #1919
Recompile assets
2016-10-20 08:44:14 +11:00
Samuel Georges
19bab2b472
Merge pull request #2419 from LukeTowers/patch-6
...
Pass current model to record finder scope method
2016-10-15 10:50:54 +11:00
Samuel Georges
5eab7bc365
Handle when editor is not initialized yet
...
https://github.com/rainlab/pages-plugin/issues/197
2016-10-13 05:57:38 +11:00
Luke Towers
567e464550
Pass current model to record finder scope method
...
This improves the extensibility of the record finder form widget by passing the current model to the query scope that will be applied to the records being displayed. It allows the use of attributes of the current model in the query scope applied to the records being displayed as options to select.
In my use case, I have a main Survey model with related Field models. Field models can have parents and children for a tree structure, but I only want fields to have parents and children that are:
**a) Not the main record itself**
**and b) Members of / related to the same Survey model**
By passing the current model to my query scope, I can filter out ineligible records like so:
```
/**
* Limit results to only records that are eligible to be parents of the provided model
*
* @param Query $query
* @param Model $model The model to check for eligible parents agains
* @return Query
*/
public function scopeEligibleParents($query, $model) {
return $query->where('id', '!=', $model->id)
->where('parent_id', '!=', $model->id)
->where('survey_id', '=', $model->survey_id);
}
```
2016-10-11 17:15:40 -06:00
Samuel Georges
de1b85e796
Rich editor content saves when in code view mode
...
Refs https://github.com/rainlab/pages-plugin/issues/193
2016-10-12 06:42:36 +11:00
Samuel Georges
8c91bfe66c
Update froala to latest, recompile assets
2016-10-12 06:33:28 +11:00
Samuel Georges
5746f4dec0
Fixes missing ace vendor path
...
Refs https://github.com/rainlab/pages-plugin/issues/193
2016-10-12 06:13:01 +11:00
Szabó Gergő
da254af4e6
Update the Hungarian translate ( #2334 )
...
* Update the Hungarian translate
2016-09-03 09:44:32 +10:00
Szabó Gergő
813fdef1d1
Translated Froala missing keys for Hungarian
2016-08-16 08:49:20 +02:00
Jérémy Gaulin
66965e7a43
Translated missing keys
2016-08-15 22:25:55 +04:00
Samuel Georges
1c3631bede
Datepicker can use an expressed date for default value
...
@Carbon::parse was still failing, wrapped in do nothing try/catch instead
We don't seem to need to prefix time values anymore, since DateTimeHelper::makeCarbon should handle it
Fixes #2299
2016-08-13 11:29:01 +10:00
Samuel Georges
0573e0593a
Search should persist across pagination
...
The search term is now reset only when the record finder is first opened
Fixes #2161
2016-07-30 11:46:36 +10:00
Samuel Georges
675a6a4224
Code improvements
...
Refs #2235
2016-07-23 14:22:36 +10:00
Samuel Georges
07b0c7d0ce
Merge pull request #2235 from acasar/nested-depends-on
...
DependsOn in repeater
2016-07-23 13:36:24 +10:00
Samuel Georges
80fb1f42cc
Further code improvements
...
Refs #2233
2016-07-23 13:06:38 +10:00
Samuel Georges
b934e8bd98
Merge pull request #2233 from acasar/fix-nested-repeater
...
Fix nested repeater sorting
2016-07-23 13:00:31 +10:00
Evgeny Razumov
37a5ae611b
Bug fix in taglist widget with nameFrom option
...
Fixes #2231
2016-07-23 12:57:08 +10:00
Samuel Georges
ad67c9ab09
Buttons container has an inner toolbar
...
Consider this when adding new buttons without insertBefore/insertAfter definition
Fixes #2194
2016-07-23 09:53:23 +10:00
Anže Časar
79bb4c2035
Nested DependsOn
2016-07-22 00:38:32 +02:00
Anže Časar
453096bb27
Fix nested repeater
2016-07-21 18:55:03 +02:00
Aleksey Bobkov
53b8df0721
Force rich editor to synchronize when a form is saved.
2016-07-06 18:27:27 -07:00
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