2391 Commits

Author SHA1 Message Date
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
Luke Towers
3d18e5d466 Fixes #3412. Prevent users from being able to modify their own groups. 2018-02-23 13:41:11 -06:00
Ramin Firooz
8ba63dd428 Updated Farsi Translation (#3404)
Credit to @EleRam
2018-02-17 17:12:34 -06:00
Sajjad Servatjoo
708b1e3a75 Update Persian Language (#3396)
Credit to @sajjad-ser
2018-02-13 10:55:06 -06:00
Luke Towers
9840ff228f
Support absolute redirects in the formcontroller
Supports absolute redirects being used in the FormController behaviour.

If the form_config.yaml specifies 
```twig
create:
    redirect: https://api.example.com/oauth/authorize
```
Then the behaviour will now properly redirect the user to the URL provided where previously it would redirect to a url along the lines of `october.example.com/backend/https://api.example.com/oauth/authorize`. Relative backend redirect URLs are unchanged.
2018-02-06 14:42:24 -06:00
Luke Towers
a916d99de4
Prevent indexing of backend login page
Refs: 77ae173c24
2018-02-02 15:00:49 -06:00
Luke Towers
77ae173c24
Prevent indexing of backend pages
Fixes #3380
2018-02-02 13:35:59 -06:00
Luke Towers
8cb57cf353
Add useRelationCount column property
Adds the `useRelationCount` property to tell the list controller to use the number of related records for the specified `relation` as the value for that column.
2018-01-25 16:54:06 -06:00
Ramin Firooz
3c50849eb7 Update Persian Translation (#3367)
Credit to @EleRam
2018-01-21 09:35:02 -06:00
Samuel Georges
45f1714a03 Added key mode to taglist form widget
Alternative implementation #2958
Fixes #2958
2018-01-13 20:49:31 +11:00
Samuel Georges
6ff6ab2996 Convert strings to ::class 2018-01-13 14:40:44 +11:00
Szabó Gergő
0256ebc966 Add role filter to administrators (#3350)
Credit to @gergo85
2018-01-10 10:18:19 -06:00
Flakerim Ismani
55ff460895 Added colorpicker column type (#3338)
Renders 30px by 30px square of the selected colour. `type: colorpicker` in the columns config. Credit to @flakerimi
2018-01-04 12:54:30 -06:00