4136 Commits

Author SHA1 Message Date
Luke Towers
d14f1fec0f Moved MediaFinder formwidget from the CMS module to the System module 2017-09-27 22:30:53 -06:00
Luke Towers
c2f204008b Moved the MediaManager widget from the CMS module to the System module 2017-09-27 22:23:58 -06:00
Luke Towers
08f9cd8448 Moved the |media twig filter from the CMS module to the System module 2017-09-27 22:15:01 -06:00
Luke Towers
de747f98b3 Deprecate the MediaLibrary & MediaLibraryItem classes in the CMS module 2017-09-27 22:12:45 -06:00
Luke Towers
a24da988ae Moving MediaLibrary and MediaLibraryItem classes to the System module 2017-09-27 22:10:20 -06:00
Alexander Guth
93a2898379 Do not change behavior: pass request data back to the options object (#3012)
Current changes to the ``framework.js`` led to a breaking change due to the fact, that ``options.data`` was no longer populated with the request data. The ``options`` object is part of the ``context`` object, which is later beeing passed to ``ajaxBeforeSend``
The two relevant versions of the file show the change of behavior:
b6fedfb688/modules/system/assets/js/framework.js (L56) => https://github.com/octobercms/october/blob/develop/modules/system/assets/js/framework.js#L88
The change is required to remain consistent with the old behavior. This code is tested and appears to be working as it did formerly.
v1.0.425
2017-09-19 15:34:48 -06:00
Samuel Georges
d30dd19b70 Rollback 510071550a0f1b564d16b28922e9ef5f8c10d4a9
This issue has been addressed too early in the process lifecycle. The line number should be incremented later, say in the view layer when the error is displayed. A simple helper to determine what the index increment should do well.

$row + $indexIncrement

This is so we don't have to rebuild the array, which is computationally expensive for large datasets and could be frustrating for a developer expecting untouched index values, or likewise needing to prepare our special format.
v1.0.424
2017-09-17 10:14:14 +10:00
Luke Towers
510071550a Report correct row number in import error logs
This fixes an issue where the row number reported by import error logs would be off by 1 or 2 depending on whether the first row was labelled as titles or not.

As arrays start at 0 in PHP, `$firstRowTitles = false` would result in reported row numbers being off by one less than their actual number. If `$firstRowTitles = true`, the reported row number would be off by two less than their actual number (one for the zero index, one for the first row not existing in the `$results` set).
2017-09-15 17:05:46 -06:00
Szabó Gergő
fa2c536a53 Hungarian translate for Mail branding (#3115)
and minor corrections
2017-09-15 09:41:48 -06:00
Samuel Georges
58aa360eab The text input value should be explicit, not mutated, ever.
Rollback fb893efb9ca3a0fa25e3bb9fd01f55cef6216473
Refs #2942
Refs #3101
2017-09-15 08:41:05 +10:00
Fl0Cri
d7b0e55ceb Fixes broken richeditor z-index inside and outside of a popup (#3113)
Fixes #3098, #3111. Credit to @Fl0Cri
2017-09-14 15:17:31 -06:00
Samuel Georges
cd76f2e04f Field definition should override magic 2017-09-13 14:29:42 +10:00
Luke Towers
9565565865 Add ignoreTimezone option to datepicker field and column types.
Adds the ability to specify an `ignoreTimezone: true` option on the config for a datepicker form widget or date column type. This will ignore both October's and the backend user's timezone settings to display the date exactly as it is stored.
v1.0.423
2017-09-10 22:39:15 -06:00
Fl0Cri
50d6db7d1c Allow raw values in subject header (#3092) 2017-09-07 08:42:27 -06:00
TimFoerster
ead70c43f3 changing z-index of richeditor (#3099)
Changed z-index of the richeditor to prevent hidden popups.
Fixes #3098
2017-09-07 08:36:50 -06:00
Samuel Georges
8a1b060a29 Tidy up from #3084 2017-09-06 09:00:53 +10:00
Samuel Georges
233dd539f6 Merge pull request #3084 from jofrysutanto/develop
Allow simple pagination option on ListControllers
2017-09-06 08:52:08 +10:00
Jofry S
2c97c55ea8 Allow simple pagination option on ListControllers 2017-09-05 13:33:51 +10:00
Luke Towers
8a8013e52e Fixes #3081. Resets module dependencies from dev to stable. Refs 081a32c928 v1.0.422 v1.0.421 2017-09-04 12:40:55 -06:00
Luke Towers
5185ca075b Add the cms.object.listInTheme event (#3076)
Inspired by #3075. Provides a cms.object.listInTheme event to modify the results returned by that method.
2017-09-02 19:51:56 -06:00
Samuel Georges
dfdf81e245 Merge pull request #3004 from Samorai/develop
Added translation for pageTitle into MailBrandSettings
2017-09-02 08:26:31 +10:00
Samuel Georges
4074ad8cc9 Laravel 5.5 released 2017-08-31 20:57:00 +10:00
TimFoerster
54b1250fbd Update backend/lang/de/lang.php (#3063) 2017-08-29 10:32:43 -06:00
Tschallacka
b152663ff5 Attribute values for < and > and '' should be written als &lt; &gt; and &quot;(when enclosed with double quotes for attribute delimters) (#3043) 2017-08-29 10:29:48 -06:00
Edmond Mensah
ac75fa36ec Fix broken linkedIn profile link (#3058) 2017-08-24 20:56:07 -06:00
Szabó Gergő
cfd3d54316 Update the Hungarian translation (#3046)
Compatible with October build 420
2017-08-18 08:26:51 -06:00
Tschallacka
c97d29fe4f Remove unused reference (#3045) 2017-08-17 14:00:43 -06:00
Samuel Georges
deaf56cc81 Merge pull request #3039 from vakopian/popover-filter-bug
Popover filter bug
2017-08-17 12:10:39 +10:00
Vardan Akopian
7a94d41702 add popup-allow-focus class for popover template 2017-08-16 16:35:41 -07:00
Vardan Akopian
5ad132b57f add popup-allow-focus to the popover templates 2017-08-16 16:35:02 -07:00
Samuel Georges
fec397d365 Merge pull request #3037 from petehalverson/develop
Edge support for `october:util set build`
2017-08-16 09:12:07 +10:00
Peter Halverson
dc50b34c7b Edge support for october:util set build 2017-08-15 17:02:57 -06:00
Luke Towers
cf6ca02886 Support no database existing when october:util set build is run
This fixes an issue when composer automatically calls the `php artisan october:util set build` command after installing dependencies but before a database has been initialized for October.
2017-08-13 15:53:19 -06:00
Luke Towers
7c3d4705fc Support firstDay in date & date range filters
Ref: 962aa32a60 (commitcomment-23597564)
2017-08-11 08:59:06 -06:00
Samuel Georges
928a123791 Merge pull request #3027 from Teranode/patch-1
Laravel 5.5 Engine directory change
2017-08-09 13:00:12 +10:00
Christian
98bc0c0977 Laravel 5.5 Engine directory change
They moved the Engine interface to Contracts so this is a small fix.
2017-08-08 21:55:48 -04:00
Matheus Naldi
f8ceeb7b52 Improved deferred bindings query performance (#3014)
Credit to @MatheusNaldi. Fixes #2877
2017-08-07 11:54:33 -06:00
Sang Min Oh
969eaccf8b korean language support for backend (#3023)
Credit to @everydayparty
2017-08-06 12:36:34 -06:00
Luke Towers
9745b3ba75 Compiled assets 2017-08-05 18:11:40 -06:00
Luke Towers
a705a70f35 Cleanup for #2856
Removed `minNumber` and `maxNumber` options, they are not enforceable on the client side without a lot more work. Added `number` filter type, added missing numberrange filter template, consolidated styles for filter-date and filter-number filters.
2017-08-05 18:10:36 -06:00
Luke Towers
be87fbbb87 added feature to allow filtering over a number range (#2856)
Original by @purposebuiltscott in #2856
2017-08-05 14:01:59 -06:00
Luke Towers
92d88fc4dc Merge pull request #3021 from octobercms/Luke
Improve support for scope properties
2017-08-05 12:51:05 -06:00
Luke Towers
0b7170ac26 Add support for sorting direction to the MediaManager (#3007)
* Remove redundant returns

`$this->putSession()` in `Backend\Traits\SessionMaker` doesn't return anything, and the return values of these methods are not used; so returning the value of `putSession()` in these methods is redundant.

* Add support for sort direction to MediaLibrary

Adds support for switching the direction that item lists get sorted by the media library. This necessitates the changing of the default direction of Last Modified and Size to Ascending, previously their sorting direction was Descending while Title was sorted in Ascending order. This shouldn't change anything as the user still has the power to sort by either direction. Fully backwards compatible with any calls to `sortItemList`.

* Support sorting direction in the MediaManager widget

Adds further support for specifying a sorting direction to the MediaManager widget itself

* Display sorting direction options

* Improving styles for sorting direction

* Send sorting information to the MediaManager

* Add translations for sorting feature

* Removing strange ghost whitespace
2017-08-05 12:45:01 -06:00
Luke Towers
c4e3387752 Pull datepicker yearRange from defined scope data 2017-08-05 12:41:22 -06:00
Luke Towers
e41f047722 Support yearRange property on the daterange scopetype 2017-08-05 12:40:15 -06:00
Luke Towers
67fb168e6c Support yearRange property on the date scopetype 2017-08-05 12:39:20 -06:00
Luke Towers
962aa32a60 Improve flexibility of scope type properties
Improves the flexibility of scope type properties by removing conditional logic specific to the date and daterange scope types and laying the groundwork for scopes to define their own custom properties that can be loaded from the scope configuration defined by the developer.
2017-08-05 12:38:20 -06:00
Sevdin Filiz
c129b94b46 Add translation for "Signed in as" (#3018)
Credit to @angelside
2017-08-04 13:17:49 -06:00
samorai
d36c5ca4e8 Made hardcoded texts as translatable 2017-08-02 00:16:17 +03:00
Luke Towers
d7334315a8 Remove redundant returns
`$this->putSession()` in `Backend\Traits\SessionMaker` doesn't return anything, and the return values of these methods are not used; so returning the value of `putSession()` in these methods is redundant.
2017-08-01 12:08:01 -06:00