2403 Commits

Author SHA1 Message Date
Szabó Gergő
37da24d060 Update the Hungarian translation (#3702)
Credit to @gergo85
2018-08-17 10:27:23 -06:00
Maria Vilaró
5c72ad1474 Add translations for Catalan (#3694)
Credit to @mariavilaro.
2018-08-16 08:14:26 -06:00
Luke Towers
be839d0a07 Documented FilterWidget events:
Added inline documentation for the following filter widget events:
backend.filter.extendQuery
backend.filter.extendScopesBefore
backend.filter.extendScopes
2018-08-15 21:42:56 -06:00
Luke Towers
4078e6a56f Provide inline documentation for the FormWidget events:
Documented the following:
backend.form.beforeRefresh
backend.form.refreshFields
backend.form.refresh
backend.form.extendFieldsBefore
backend.form.extendFields
model.form.filterFields
2018-08-15 21:00:31 -06:00
Luke Towers
8cbfd6611a Finished documenting Lists widget's events:
backend.list.extendQueryBefore
backend.list.extendQuery
backend.list.extendRecords
backend.list.extendColumns
backend.list.overrideHeaderValue
backend.list.injectRowClass

Also improved:
backend.list.overrideColumnValue
backend.list.overrideColumnValueRaw
2018-08-13 08:11:35 -06:00
Luke Towers
cbed54a263 Implemented minItems repeater property on client & server
Also implemented maxItems on server (previously only client). Fixes https://github.com/octobercms/october/issues/3668
2018-08-12 01:33:51 -06:00
Luke Towers
6774920003 Finish implementing titleFrom option for Repeaters
Ref: e7609aa5e8
2018-08-11 20:27:53 -06:00
vanmil
4cdbf2a051 Add customization of froala lineBreaker tags (#3687)
Credit to @vanmil
2018-08-11 13:33:34 -06:00
datune
5fd3e8b373 Update lang.php (#3498)
Provide a translation for the single error message that gets displayed when the application is in production. @see https://github.com/octobercms/october/issues/2106
Credit to @datune
2018-08-09 07:34:45 -06:00
Alexander Shapoval
1e7c3691e7 Cast outside field config to array (#3670)
This is necessary to enable the setting of tabs for SECTION_OUTSIDE: http://octobercms.com/docs/backend/forms#form-tab-options. Credit to @ebashu-on-holidays
2018-08-06 10:49:19 -06:00
vosco88
7e6800ea6e Added Slovak translations (#3671)
Credit to @vosco88.
2018-08-05 18:16:27 -06:00
Szabó Gergő
31be214f60 Apply custom secondary color to asset list (#3658)
Credit to @gergo85
2018-07-30 08:28:33 -04:00
Steve Mortimer
5936107c07 Reset pagination on filter scope change (#3632)
Fixes #3610. Credit to @stevemortimer
2018-07-16 09:43:47 -04:00
Szabolcs Palmer
157b08202b Adds align support to non-sortable list column headers (#3638)
Credit to @Szasza
2018-07-15 00:56:09 -04:00
Michał Płodowski
68ee471d39 Add showWeekNumbers option to datepicker (#3637)
Fixes #3634. Credit to @mplodowski
2018-07-12 18:10:24 -04:00
Luke Towers
c55a7cd2e2 Target only immediate children when determining if a tab should be hidden
Fixes #3627. This changes the logic for hiding tabs when all of their fields are hidden to specifically only target direct children of the tab pane when looking for visible fields because repeaters will have fields present that are only hidden by virtue of the parent field being hidden however the previous behaviour would consider it visible.
2018-07-05 10:14:41 -04:00
Samuel Georges
000a880742 Alternative fix to #3607
Fixes #3607
Fixes #3606
2018-06-29 14:20:55 +10:00
Samuel Georges
fb2aa1730c Fixes security issue
Refs #3604
2018-06-22 22:57:38 +10:00
Christian
0eac53bdd1 Fix pathing issue in media manager (#3604)
Fix pathing issue in media manager

Currently there is a way to manipulate folder names using the request headers for the medafinder folder path. since `validatePath` does not validate file names but rather only validates the existence of a folder in a parent/subdirectory. We can utilize `validateFileName` to verify if the name of the folder path being created is valid during the folder creation process and the name applying process.
2018-06-22 16:35:33 +10:00
Ma3ffin
19acc0afc0 Improved German Translation (#3579)
Credit to @Ma3ffin.
2018-06-04 16:30:49 -06:00
Luke Towers
0086a47b80 Add attachOnUpload option to FileUpload formwidget
Fixes #3501
2018-06-04 16:22:23 -06:00
Viamage
5ec5336a79 Improved Polish translations (#3578)
Credit to @viamage
2018-06-03 06:54:49 -06:00
danharrin
ce3c923c6f Translate "Row" in _import_result_form.htm (#3574)
Fixes #3566. Credit to @danharrin
2018-05-31 15:14:08 -06:00
Viamage
667b82e6ce Replace keyup listener with input listener (#3567)
Fixes #1270. Credit to @viamage
2018-05-30 20:26:38 -06:00
Wellyson Freitas
c12b76de75 Add extensibility to auth restore view (like signin view) (#3549)
Credit to @wellyfrs.
2018-05-17 00:56:39 -06:00
datune
08ad167f91 Allow SVG as a backend logo file type (#3548)
Fixes #3442
2018-05-14 11:27:40 -06:00
Ayumi Hamasaki
026ae1e15f Fix Scrolling bug (#3547)
Fixes #3542
2018-05-13 16:32:12 -06:00
Joey
541f0a78f1 Fix for missing _group field when saving data from a nested group repeater (#3523)
Fixes #3067. Credit to @Narkoleptika. Thanks to @petehalverson for his docker container work for replicating.
2018-04-26 00:13:28 -06:00
QuangTrọngOnline
3ef571da3c Added Vietnamese translation (#3514)
Credit to @quangtrongonline.
2018-04-24 11:41:01 -06:00
Sebastian Hilger
07dbd0c729 Add searchOnEnter option to make the Search widget fire on enter key (#3524)
Documented in e56468a95b. Credit to @manogi. 
Added an option to change from the "search on every keystroke" functionality to one where the serach is only fired when hitting the enter key. This makes sense when having larger datasets or CMS users who are slow typers.
2018-04-23 10:09:37 -06:00
Luke Towers
4d304645d7 Added readonly support to the mediamanager widget and the ability to set the MediaLibary cache key through code 2018-04-19 10:23:15 -06:00
Luke Towers
08d8b33fc6 Whitespace 2018-04-19 10:21:25 -06:00
Tobias Kündig
2b22b26676 Added align property to list columns definition (#3509)
Documented in https://github.com/octobercms/docs/pull/289; credit to @tobias-kuendig
2018-04-17 23:34:08 -06:00
Luke Towers
da17a96926 Make uploaded import files private by default 2018-04-17 11:14:43 -06:00
Szabó Gergő
955af8cbc4 Update the Hungarian locale (#3510)
Credit to @gergo85
2018-04-17 10:35:35 -06:00
Luke Towers
4f7a08954d Updating links in composer files 2018-04-16 02:33:08 -06:00
Luke Towers
8df92f4ba1 Merge branch 'develop' of https://github.com/octobercms/october into develop 2018-04-05 22:10:59 -06:00
Luke Towers
5cbadd447a Fix typo in 97e156d43d 2018-04-05 22:10:43 -06:00
Samuel Georges
2164c07616 Preserve multi field types with trigger use
Refs #3195
Refs #2861
Refs https://github.com/daftspunk/oc-test-plugin/pull/41
2018-04-06 10:58:56 +10:00
Samuel Georges
97e156d43d Tidy up logic from #3465, move helper functions out 2018-04-04 14:35:29 +10:00
Pierre-André Vullioud
cc082d0510 Return empty from Backend::dateTime instead of current date (#3246)
This changes Backend::dateTime to return an empty string instead of the current date when dealing with a null date. It should only affect the date field preview instance. Credit to @pvullioud
2018-03-30 10:06:47 -06:00
MartynasJanu
13dadaa667 Set trigger targets arbitrary levels above current form context (#3465)
Fixes #3260. Enables setting the target field for the trigger API to a form context an arbitrary number of levels above the current field by prepending the field name with `^` for each level to go up. For instance, if you had a field [allow_pictures] in the base form and a [records] repeater with [image] fields, and you set the target field for the trigger on [image] to [^allow_pictures] then it would work properly instead of looking for an [allow_pictures] field on the [records] field. Credit to @MartynasJanu. Documented in edc78b584b
2018-03-21 23:25:18 -06:00
Mohamed Ali Behiry
e3635b80e7 Added partial Arabic translation (#3296)
Credit to @mabehiry
2018-03-20 13:20:09 -06:00
Miro Rauhala
610452078d Update Finnish translations (#3460)
Credit to @mirorauhala
2018-03-19 15:36:53 -06:00
Mateusz Charytoniuk
318e9d7e76 Import CSV rows one at a time (#3450)
Credit @mcharytoniuk.

While importing over 250k records ImportModel kept running into various problems. One of them was too big memory usage - `ImportModel` loaded the complete file upfront (`$reader->fetchAll()`). Simple one-line change to `$reader->fetch()` makes `ImportModel` import CSV file row-by-row and returning an iterator which limits memory usage and allows data to be imported. This change optimizes memory usage and allows much simpler importing of larger files.
2018-03-14 12:53:18 -06:00
CaptainTF
7a6f1d3c85 Improved Simplified Chinese (zh-CN) translation (#3447)
Credit to @CaptainTF
2018-03-12 23:26:34 -06:00
Luke Towers
422a99770c
Attach uploaded files directly to parent if exists
If the parent of the file attachment relationship already exists, then attach the file directly to it in this request instead of going through deferred bindings. Will continue to attach files through deferred binding if the parent relation doesn't exist.
2018-03-09 23:47:16 -06:00
Luke Towers
f056e8dcb2
Retrieve protected files using the defined file model
Adds support to retrieve protected files using the class they are defined to be using if that class differs from the default System\Models\File class. This makes it possible to use a custom class extending the base file model class that does output processing on the file data (for example, an EncryptedFile class that has to decrypt the file contents before they can be output to the browser).
2018-03-09 23:07:53 -06:00
Tobias Kündig
55d49cbf2b Cache the last visited page in the list widget (#3432)
Stores the last visited page of list widgets in the session to restore to on next page load. Does not apply when filters / searches are applied. Credit to @tobias-kuendig
2018-03-08 10:52:21 -06:00
Alexander Shapoval
7552464779 Updated Russian Translations (#3414)
Credit to @PopcornPHP
2018-02-25 21:25:12 -06:00