Samuel Georges
a2a7eec4f5
Rename methods in CollapsableWidget
...
The methods were far too generic. When a trait or behavior is used, it's usually a good include to include the name of the trait in the methods and properties it provides. This reduces the chance of a conflict with the implementing class.
2017-06-10 15:42:24 +10:00
Samuel Georges
f020479b91
Move session logic to SessionMaker
...
This allows controller behaviors to access session utils
2017-06-10 04:58:29 +10:00
Samuel Georges
f7d0d394f5
Merge pull request #2881 from gergo85/patch-3
...
Typo
2017-06-06 20:21:59 +10:00
Samuel Georges
bda98e7353
Selectable box and fancy breadcrumb
2017-06-05 17:35:15 +10:00
Samuel Georges
e2781c5fdf
URL -> Url
2017-06-02 23:34:50 +10:00
Samuel Georges
3be6dafa6b
Fixes int folder name showing as 0
...
Fixes #2902
Code dusting
2017-06-02 20:16:26 +10:00
Samuel Georges
f0df1f458b
Merge branch 'develop' into l55upgrade
...
Conflicts:
modules/system/assets/ui/storm.css
2017-05-27 22:24:57 +10:00
Samuel Georges
cefa19af7d
Backend UI improvements
2017-05-20 20:00:24 +10:00
Szabó Gergő
04e1f6e62e
Typo
...
It is low priority changes. Yesterday I found them too, when I fixed the array index name issue.
2017-05-20 11:54:55 +02:00
Samuel Georges
aa393dc54b
Backend style improvements
...
This should make Windows PCs look a little nicer, albeit inconsistent with others (Sergoe UI is unique). If it's good enough for GitHub, then it's good enough for October.
All text shadows have been stripped, along with some box shading. They were barely noticeable and should speed up the UI.
2017-05-20 17:37:58 +10:00
Szabó Gergő
c597563145
Fixed spaces
2017-05-19 11:29:19 +02:00
Samuel Georges
4d1bec860d
thumbnailDirectory -> thumbFolder
2017-05-16 08:47:15 +10:00
Luke Towers
21d4f683c3
Support custom thumbnail directory
...
This enables support for edge cases that require custom thumbnail directories (such as requiring authentication to view generated thumbnails).
2017-05-14 22:41:31 -06:00
Luke Towers
7a820f3c43
Remove reference to hardcoded media path
...
Replaces the reference to a hardcoded `/media` path when generating a local temp file path to utilize the folder name as set in `cms.storage.media.folder`.
2017-05-14 22:28:08 -06:00
Luke Towers
0f04afbea4
Recompile mediamanager assets to include the fix
2017-05-14 19:34:50 -06:00
Luke Towers
84ee4f2679
Fix for #2765
...
Actual changes are in `MediaManager.prototype.deleteConfirmation`, apologies for the trailing whitespace removals, my editor auto does that and I didn't feel like removing it since there shouldn't really be trailing whitespace anyways.
Fixes #2675 (and probably other potential oopsies) by skipping over the "return to parent" item in the deletion handling method. The "return to parent" item contains a reference to the folder above the current folder, which could potentially cause the entire media folder to be deleted; and would certainly remove a lot more than actually intended.
2017-05-14 19:32:57 -06:00
Samuel Georges
349851dd11
Partials, pages and content now support drag'n'drop
2017-04-28 23:37:50 +10:00
Quezler
cc17b679f1
Code dusting ( #2826 )
...
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
27062ddfa0
Fixes folder creation and rename in asset list
2017-04-14 08:07:11 +10:00
Samuel Georges
9df40c07b8
Move extension validation to files only
2017-04-13 09:37:49 +10:00
Samuel Georges
433cf1d504
Additional security fixes
2017-04-10 16:02:05 +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
Samuel Georges
b841f9e066
{@inheritDoc} -> @inheritDoc
2017-03-16 06:26:14 +11:00
Samuel Georges
d642605f87
Remove old fix and spruce up code
2017-03-04 15:23:12 +11:00
Samuel Georges
09085c5e03
Add explanation - Refs #2674
2017-02-15 05:51:30 +11:00
Luke Towers
4bb0f216f9
Merge pull request #2674 from tschallacka/IIS-getrealpath-fix
...
Fix for get realPath on IIS.
2017-02-14 12:31:40 -06:00
tschallacka
65247c4ce2
Fix for get realPath on IIS.
...
Sometimes getRealPath is empty when requested on IIS and needs to be rebuilt manually.
2017-02-14 09:22:34 +01:00
Samuel Georges
cc1a67373c
Add title to template list
...
Makes it easier to read longer template descriptions
2017-02-08 05:44:04 +11:00
Samuel Georges
8b71385481
Removed "before" events
...
There is no use case for them (yet)
Refs #2628
2017-01-30 08:33:32 +11:00
Samuel Georges
15209a9575
Bring events in to line with dev guide
...
Proof class
Refs #2628
2017-01-30 08:25:43 +11:00
Samuel Georges
0f00c3a5f3
Merge pull request #2628 from Klaasie/feature/media-manager-events
...
Add events to Media Manager widget
2017-01-30 08:03:06 +11:00
Samuel Georges
96fcb7fd79
Minor tidy
2017-01-28 07:43:24 +11:00
Klaas Poortinga
7cfb7da7d0
Add events to Media Manager widget
2017-01-24 21:20:14 +01:00
Samuel Georges
f67c38b303
Spacing adjustments
2017-01-14 06:02:07 +11:00
Aleksey Bobkov
6e54433bc1
Implemented page sorting by title, URL and file name in the CMS back-end. Closes #84
2017-01-12 20:13:32 -08:00
Aleksey Bobkov
4b3ab44bab
Use minified JavaScript for the Media Manager
2017-01-11 20:13:03 -08:00
Aleksey Bobkov
e3d864e0f7
Fixes item selection on touch laptops in the Media Manager. Fixes #2490
2017-01-11 20:00:23 -08:00
Samuel Georges
bc165078de
Removes redundant code
...
The form widget label and widgetDetails() method was intended for use by the Builder plugin, since it ended up using its own internal registration system, this is not used anywhere so is removed.
Refs https://github.com/octobercms/docs/issues/200
2016-11-01 08:15:03 +11:00
Szabó Gergő
d7f1d523f0
Translate some strings ( #2395 )
...
* Translate some strings
2016-10-11 08:29:26 +11:00
Aleksey Bobkov
f1bd0d33b8
Minor fix in the file type validation
2016-08-13 14:54:59 -07:00
Samuel Georges
e64b08c697
Prevent rename media file to blocked type
...
Fixes #2304
2016-08-13 09:49:13 +10:00
Samuel Georges
cd5a579c04
Disable clock picker AM/PM time for now
...
Restyle clock picker
Fixes #1989
Remove debug code
Recompile assets
2016-06-02 06:52:27 +10:00
Jérémy Gaulin
11a55b764b
Fixes #2021 - Cropping with float values
2016-05-30 00:36:49 +02:00
Jérémy Gaulin
01140cde95
The selection mode must be applied when the popup is shown as the options are saved across requests.
...
Fixes #2022
2016-05-30 00:09:50 +02:00
Samuel Georges
887bf569dc
Rollback recursion fix
...
This should no longer be necessary with the new third party code used in rich editor
Refs #1733
2016-05-25 05:28:00 +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
5a63fb292a
Combine media manager global with the core october.js file
...
This should save 1 extra request, although it is less modular we can address it again later
2016-05-21 12:37:21 +10:00
Samuel Georges
091705e70e
Fixes scrollbars appearing on wide images
2016-05-20 05:20:13 +10:00
Breno Douglas Araujo Souza
8d1670d562
Fix error upload file in midia
...
rename $title to $name in cleanFileName method
2016-05-12 11:54:39 -03:00
Samuel Georges
ff207b91cf
onDelete -> onDeleteItem
2016-05-12 04:31:29 +10:00