Samuel Georges
8c398e7ad5
cms_theme_contents -> cms_theme_templates
2019-06-01 12:45:29 +10:00
Samuel Georges
17cea816d8
enableDatabaseLayer -> databaseTemplates
2019-06-01 12:40:17 +10:00
Luke Towers
e87184d2bd
Fix for installs that don't use the cloud drivers
2019-05-31 01:03:07 -06:00
Luke Towers
ef4f1e49ee
Added `temporaryUrlTTL` configuration option, switched is_a() to instanceof
2019-05-31 00:53:27 -06:00
Luke Towers
aea4857eba
Use temporaryUrls for protected files if the storage driver in use supports them
2019-05-30 17:47:01 -06:00
Scott Bedard
85c7ba34c9
Default to full width (12cl) dashboard widgets ( #4348 )
2019-05-26 09:07:47 +03:00
Rike-cz
83e48c9625
Media Manager with SVG preview ( #4011 )
2019-05-25 15:51:50 +03:00
SeriousKen
a9e198c8b4
Add check to make sure event result is an array in Form widget ( #4331 )
...
Wildcard listeners will add null responses to the event result array and causes an error when they are merged into the result. This PR adds a check to see if each event result is an array before adding it to the result array.
Credit to @SeriousKen. Fixes https://github.com/OFFLINE-GmbH/oc-clockwork-plugin/issues/1
2019-05-20 13:32:29 +08:00
Luke Towers
019b0a3a6c
Added maintenance mode view.
...
Refs: https://github.com/octobercms/october/issues/2830
2019-05-15 19:20:25 -06:00
Luke Towers
7590dfd30f
Respect ignoreTimezone in the datepicker 'date' mode.
2019-05-14 13:09:48 -06:00
Luke Towers
bcd5156497
Merge pull request #4336 from octobercms/master
...
Fix group index mapping in Repeater widget (#4334 )
2019-05-14 12:29:09 -06:00
datune
a8d9dcf985
Fix group index mapping in Repeater widget ( #4334 )
...
Fixes a bug which causes grouped repeaters to lose data when repeater items are re-ordered and saved, due to the data indexes not being correctly mapped to the corresponding form widget.
Credit to @datune.
2019-05-14 23:34:12 +08:00
Luke Towers
f861b2ca5d
Added disabled style for switch field types
2019-05-10 18:30:52 -06:00
Luke Towers
9f08086c27
Open `rowlink` rows in a new tab when the Command or Ctrl key is held down (previously only did it for the Ctrl key)
2019-05-10 17:46:20 -06:00
Marc Jauvin
8448d4b972
Fix media manager access ( #4305 )
2019-05-10 20:59:57 +03:00
Luke Towers
a1e6849a71
Implemented easy impersonation of backend users controlled by the backend.impersonate_users permission
2019-05-09 10:36:46 -06:00
Klaas Poortinga
de8004169a
Improved Dutch translation ( #4321 )
...
Credit to @Klaasie.
2019-05-06 23:11:36 -06:00
Alexander Guth
ee8287e598
Add "onUpload" AJAX handler to FileUpload widget ( #4311 )
...
Run an AJAX handler on uploading and processing a file as opposed to using a post() data check in the widget initialization, as the widget may initialize several times in certain circumstances - eg. inside a relation widget.
Credit to @alxy. Refs: https://github.com/octobercms/october/issues/4300
2019-05-07 11:44:25 +08:00
Alexander Guth
4e92686c1a
Add support for filters in the RelationController configuration ( #4241 )
...
Credit to @alxy. Docs: https://github.com/octobercms/docs/pull/368
2019-05-04 09:08:12 +08:00
HOOP Mediaclinic
5055c830e9
Finnish language update ( #4177 )
...
* Finnish language update
* Fixed missing ] and added 'scopes'
* Tabs to spaces, removed comma
* Translation file fixes
Removed tabs, fixed indentation
2019-05-03 18:51:44 +03:00
Pindagus
4fd5bf5140
Prevent subject and password from being HTML encoded in the invite email ( #4301 )
...
Credit to @Pindagus. Related: ac5bc866ff
2019-04-30 09:13:55 -06:00
joseph-d
7694865647
Fix backend list scrolling on mobile ( #4304 )
2019-04-30 15:36:36 +03:00
Samuel Georges
3e5449c855
Include CSRF token in uploads to richeditor
...
Fixes #4302
2019-04-30 16:27:55 +10:00
Samuel Georges
7a4052be60
Recompile assets
...
build-oc-plugins.js -> build-plugins.js
Refs #4075
2019-04-30 16:24:00 +10:00
Marc Jauvin
edf6e135e2
Seperate proprietary and ocms js asset bundles ( #4075 )
...
* register a new bundle
* add the new bundle target asset
* remove the non-proprietary source file from the proprietary bundle definition
* create a new build target for the non-proprietary asset files
* remove the non-proprietary code from the compiled proprietary asset
* add compiled and minified build-ocms file
* add missing line at the end
* use better asset file names
2019-04-30 16:19:17 +10:00
Patrik Nemeček
b345191b3f
Add escaping of values to more backend fields ( #4296 )
...
Credit to @patriknemecek
2019-04-26 12:05:08 -06:00
Denis Denisov
bb37068b1a
Remove functionality to swipe between tabs on mobile ( #4103 )
...
Fixes #4037 . Credit to @w20k
2019-04-25 01:48:12 -06:00
Hoang Stark
6f1b94a67b
Fix input preset converter for Vietnamese ( #4290 )
...
- Ơ/ơ -> o
- Ư/ư -> u
- Đ/đ -> d (updated in Serbian's map)
2019-04-22 21:57:00 +03:00
Samuell
0fdd3c32cb
Properly isolate theme's config cache ( #4284 )
...
Fixes support for switching between themes. Credit to @Samuell1 and @w20k
2019-04-21 18:16:29 -06:00
Marc Jauvin
6c99aada0b
Truncate URLs in the request log to 191 chars ( #4287 )
...
Credit to @mjauvin
2019-04-21 18:12:30 -06:00
SeriousKen
15bfcf8cfd
Add support for morphOne relations in backend list columns ( #4079 )
...
Fixes #4078 . Credit to @SeriousKen
2019-04-19 16:31:12 -06:00
Serge
da8073c945
Fixed minor visual glitch in the Insert URL popup of Froala ( #3993 )
...
Credit to @Lavrushin.
2019-04-19 16:06:47 -06:00
Luke Towers
4abd74febc
Improve support for PHP 7.2. Replaces #3440
2019-04-19 15:47:28 -06:00
Luke Towers
7c7ff31cd6
Return 404 when attempting to access /error directly in production
...
Replaces #2212
2019-04-19 15:29:00 -06:00
Luke Towers
07aa790fc0
Typo fix
2019-04-19 15:26:10 -06:00
Tschallacka
6d3e751a38
Added hasFatalError() and getFatalError() ( #3904 )
...
Credit to @tschallacka
2019-04-19 15:24:21 -06:00
Sajjad Servatjoo
c5af51df25
Use the Model alias instead of a direct class reference ( #3832 )
...
Credit to @sajjad-ser
2019-04-19 15:21:44 -06:00
Jim Cottrell
e2c89fb3a2
If using database, don't call plugin task scheduling until initial system migration runs. ( #3712 )
...
Fixes #3208 . Replaces #3706 . Credit to @jimcottrell
2019-04-19 14:54:48 -06:00
Luke Towers
9fa7cbf70e
Hide backend controller behavior public methods from controller actions.
...
Fixes #3762 , replaces #3764
2019-04-19 14:01:01 -06:00
Ezequiel Tojo
9d28daa68a
Improved Spanish (Argentina) translation ( #3282 )
...
Credit to @ezetojo.
2019-04-19 12:56:02 -06:00
Alexander Guth
132336dcb8
Add getters for relation widgets ( #3164 )
...
These are available for the FormController as well, so this is just consistent and useful in some cases. Credit to @alxy
2019-04-19 12:51:51 -06:00
Tom
04bf359d8c
Fix for RichEditor root page links being returned with empty hrefs. ( #3085 )
...
Fixes issue found in https://github.com/octobercms/october/issues/3064#issuecomment-326008148 , specifically 2nd bullet point. Credit to @joltmode.
2019-04-19 12:46:13 -06:00
Luke Towers
57d54eb882
Improve code clarity
2019-04-19 12:39:36 -06:00
Samuell
a69455d409
Cache the theme config ( #4270 )
...
Fixes #4265 . Credit to @Samuell1
2019-04-19 10:59:27 -06:00
CSNWEB
044ae054f8
Wait until input is finished to fire requests fired by tracking input ( #4238 )
...
Fixes #4237 . Credit to @CSNWEB
2019-04-19 10:52:50 -06:00
Ben Thomson
7b2a772525
Finish theme:sync command ( #4276 )
...
Credit to @bennothommo
2019-04-19 09:07:48 -06:00
Luke Towers
ae26f4abe0
Peer review 6c54498e0a
2019-04-18 23:31:02 -06:00
Ayumi Hamasaki
6c54498e0a
Added Preload and Version Numbers ( #4272 )
...
Fixes #4271 . Credit to @ayumihamsaki.
2019-04-18 23:09:26 -06:00
Ayumi Hamasaki
da2b0f6c5b
Update jQuery from V3.3.1 to V3.4.0 ( #4259 )
...
Credit to @ayumihamsaki.
2019-04-18 23:04:12 -06:00
Marc Jauvin
ed79877054
Reuse formWidget model ( #4273 )
...
Credit to @mjauvin. Related: https://github.com/octobercms/october/pull/4193
2019-04-18 12:44:05 -06:00
Anže Časar
41a634bb2b
Fix mediafinder error message ( #4269 )
...
Related: 6593651331
2019-04-17 18:54:43 -06:00
Luke Towers
4f0b237aad
Use an embedded Form widget to process FileUpload properties
...
Fixes #2168 , #3097 . Related: https://github.com/rainlab/translate-plugin/pull/442
2019-04-17 18:48:32 -06:00
Luke Towers
f3f655cc25
Merge pull request #4234 from octobercms/fix/repeater-cleanup
...
Simplify Repeater Logic. Fixes #4230 . Related: https://github.com/rainlab/translate-plugin/pull/466
2019-04-17 17:15:48 -06:00
Rachasak Ragkamnerd
70cd444f8a
Added support for 'cache' attribute to addJs() to disable CF RocketLoader ( #4092 )
...
Credit to @itpcc
Due to CloudFlare Rocket Loader, CF will automatically try to optimize page loading speed by changing script type attribute. This breaks the script execution order and makes the user unable to upload the file(s) in the backend using "FileUpload" widget.
However, [CloudFlare allows adding "data-cfasync"](https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts- ) to prevent this. And it was used in the [commit #3841 ](https://github.com/octobercms/october/pull/3841/files ).
2019-04-16 20:27:13 -06:00
SeriousKen
38070b0111
Fix ability to clear RecodFinder when useRelation = false ( #4256 )
...
Fixes #4255 . Credit to @SeriousKen
2019-04-15 16:49:29 -06:00
Ben Thomson
28ac50ab28
Fix for models that don't yet exist
...
Credit to @bennothommo. Fixes https://github.com/octobercms/october/pull/3908#issuecomment-447291101
Co-Authored-By: LukeTowers <github@luketowers.ca>
2019-04-12 00:13:39 -06:00
Ben Thomson
ab6023f3e9
Fixed typo
...
Credit to @bennothommo
Co-Authored-By: LukeTowers <github@luketowers.ca>
2019-04-11 23:36:13 -06:00
Luke Towers
630d543959
Merge branch 'develop' into wip/halcyon-db-datasource
2019-04-11 12:30:29 -06:00
Szabó Gergő
7189cc7fcb
Improved Hungarian translation ( #4250 )
...
Backend: Added new brand settings option label and no image message.
System: Added changelog and custom error messages.
Richeditor: Many correction (https://github.com/froala/wysiwyg-editor/blob/master/js/languages/hu.js ).
2019-04-11 13:39:43 +03:00
Ben Thomson
ee2b53fe71
Add hidden "loaded" flag for repeaters
...
This allows the repeater to retrieve the load value
from the model only on initialisation. Any further
requests to the repeater (ie. AJAX requests) should
use the POST data.
2019-04-11 17:57:27 +08:00
Ben Thomson
ac98f70a25
Revert reordering handler changes
2019-04-11 10:37:39 +08:00
Ben Thomson
a00e546f5f
Clean up processItems() method
2019-04-10 13:20:51 +08:00
Ben Thomson
9b5bd83f10
Reset indexes when processing POST data
2019-04-09 15:35:07 +08:00
Mohamed Ali Behiry
cbd3a9e2b0
Improved Arabic Translation ( #4198 )
...
Credit to @mabehiry
2019-04-08 22:14:53 -06:00
Ben Thomson
744d578df7
Only run sortable handler if specified
2019-04-09 10:52:14 +08:00
Ben Thomson
f49b5ab4b8
Add callback for handling sorted repeater items
2019-04-08 23:40:41 +08:00
Ben Thomson
98832fbc57
Initial work on handlers for re-ordering repeater items
2019-04-08 15:57:04 +08:00
Ben Thomson
332ed62931
Increment index count after new item is created
...
Effectively starts the repeater item indexes from 0
2019-04-08 14:37:36 +08:00
rejuvenatedigital
aeeb791899
Fixes cursor position being lost when adding an image from the mediafinder to a richeditor ( #4233 )
...
Credit to @rejuvenatedigital
2019-04-05 09:27:48 -06:00
Alexander Guth
84839ba231
Do not hardcode handler name ( #4235 )
...
Credit to @alxy. This enables us to reuse the widget with a different alias name. Also, this is the octoberish way of referring to handlers. Tested on the Test plugin.
2019-04-05 09:23:50 -06:00
Tobias Kündig
725253f601
Added overflow rules to preview form-control ( #4236 )
...
Credit to @tobias-kuendig
2019-04-05 09:20:53 -06:00
Marc Jauvin
a2cb01b65d
Add $options param to formRenderField ( #4239 )
...
Allow passing options to Form widget's renderField() method. Credit to @mjauvin
2019-04-05 09:06:52 -06:00
Luke Towers
bfe03803e6
Fix the repeater on every context, not just static page fields
2019-04-05 09:00:26 -06:00
Luke Towers
b4b4b1b566
Remove extra __index_ and __group_ fields from the Repeater and use only the data itself to handle initializing widgets and processing data.
...
Refs: #4230
2019-04-04 01:23:32 -06:00
Luke Towers
49f3cd632e
Ensure that widget aliases remain the same between requests. Refs: #4230
2019-04-04 00:01:14 -06:00
Ben Thomson
aee4205b44
Fix datatable alias to be a single string ( #4231 )
...
Credit to @bennothommo
2019-04-03 15:48:15 -06:00
Marc Jauvin
eaaf8a6b3d
Added oc.inputPreset.beforeUpdate plugin hook ( #4217 )
...
Refs: https://github.com/rainlab/translate-plugin/issues/429
2019-04-02 08:48:53 -06:00
Alexander Guth
b3eb95bb62
Make default format options in ImportExportBehaviour configurable ( #4200 )
...
Credit to @alxy.
If the default format mode is selected, there is no chance to configure the format options for delimiter, enclosure, escape and encoding. This considers a new config file item `defaultFormatOptions` and falls back to `null` if it is not specified.
To keep things consistent, the old default values remain untouched.
2019-04-01 13:00:41 -06:00
Sebastiaan Kloos
dadb3e2c01
Add support for preview mode for the Markdown FormWidget ( #4166 )
...
Credit to @SebastiaanKloos
2019-04-01 12:56:14 -06:00
Luke Towers
4fbe3fdd8f
removed extra line of whitespace
2019-04-01 12:41:08 -06:00
Luke Towers
ecccafa319
Fix issue where grouped repeaters stopped working in a recent build. Refs: 13a7cc915d (commitcomment-32986586)
2019-04-01 12:37:32 -06:00
Alexander Guth
abb0b16b0f
Append the color picker modal to parent element ( #4199 )
...
This fixes #4117
Currently, the color picker modal (palette) is appended to the body (default) which makes it unusable in Octobers modals, e.g. for related model forms. This fixes this issue by appending the spectrum div to the parent element.
Credit to @alxy
2019-03-31 21:41:04 -06:00
Siarhei Karavai
2e0d2d3888
Allow subdirectories in migration file names ( #4225 )
...
Credit to @GinoPane. Fixes #4224 .
2019-03-31 08:46:33 -06:00
Tomasz Strojny
956a234920
Add ability to specify the connection used for running tests ( #4159 )
...
Credit to @czerwonyd
2019-03-31 06:28:24 -06:00
Aleksey Sannikov
8280047d30
Improved Russian Translation ( #4221 )
...
Credit to @jexme
2019-03-29 13:02:06 -06:00
Samuel Georges
cca64db205
Fix expired message
2019-03-29 17:44:57 +11:00
Samuel Georges
5190c8177b
Avoid terminating the app using exit() or die()
...
Refs #3783
Refs #3746
2019-03-29 07:10:07 +11:00
Samuel Georges
c5bc804d73
Remove redundant header_remove() call
...
The response is returned directly to the route so this is not needed, it was likely added as an artefact of a previous implementation
Refs #3773
Refs #3746
2019-03-29 06:02:06 +11:00
Samuel Georges
288d9543af
Firefox testing
...
- 4K display fixes
- use doc.ready over win.load
- min-size can be 0.1px and still fix the table spacing issue
2019-03-29 04:33:18 +11:00
Samuel Georges
463008450b
Bump froala_editor to v2.9.3
2019-03-29 03:49:46 +11:00
Luke Towers
bb872f331c
Merge pull request #4218 from octobercms/fix/4209
...
Fixes #4209 , replaces #4215
2019-03-28 09:43:09 -06:00
Samuel Georges
f6a3d10dff
Adjust styling of clear search button
2019-03-29 02:34:12 +11:00
Samuel Georges
6593651331
Add file check for image upload form widgets - Fixes #3653
2019-03-29 02:23:20 +11:00
Samuel Georges
2b1323b7b2
Change default widget column sizes
...
Refs #3965
2019-03-29 01:08:20 +11:00
Samuel Georges
334ad94ca4
Merge pull request #3965 from ayumihamsaki2/master
...
Update Dashboard Columns from 10 to 12
2019-03-29 01:04:16 +11:00
Samuel Georges
adc74ac02e
Add changelog link to updates screen - Fixes #4101
2019-03-29 00:21:51 +11:00
Luke Towers
936525f99b
Always provide a string to TwigSource. Fixes #4209 .
2019-03-27 13:17:26 -06:00
Luke Towers
c86bec7f08
Replace deprecated Twig class references, refs: #4209 .
2019-03-27 13:15:17 -06:00
Ben Thomson
8c1106f027
Allow list configs to add class to head row cell ( #4207 )
...
Credit to @bennothommo. Documented by https://github.com/octobercms/docs/pull/367
2019-03-25 13:37:32 -06:00
Daniel Ramirez
cb24d817ad
Fix popup loading indicator sometimes not closing after load ( #4169 )
...
Fixes #4168 . Credit to @drmzio
2019-03-25 10:07:33 -06:00