Commit Graph

432 Commits

Author SHA1 Message Date
Ingo Schommer
c2bc0df92a Fail buids on linting errors
Silently failing only the first command with error code 0 through a single ampersand
is hardly intuitive. Our general line is that either you have linting and
enforce it (via build failures), or you might as well not bother since
it'll deteriorate quickly.
2017-01-09 23:46:28 +13:00
Christopher Joe
cdd86aaf53 Fix breadcrumbs search results text sometimes disappearing 2017-01-09 14:55:20 +13:00
Ingo Schommer
07f0527ede Updated dist files 2017-01-09 14:55:20 +13:00
Ingo Schommer
f755c393a4 Removed unnecessary urlQuery(), expose qs instead
The asset-admin module uses a simpler algo now
2017-01-09 14:55:20 +13:00
Ingo Schommer
9e8e6314da Changed capitalisation of search filter names 2017-01-09 14:55:20 +13:00
Ingo Schommer
8981861c76 DataFormat unit tests 2017-01-09 14:55:20 +13:00
Paul Clarke
178bd480eb API Changes required for asset search behaviour 2017-01-09 14:55:20 +13:00
Daniel Hensby
664c0eafbe
Merge branch '3' 2016-12-28 14:30:54 +00:00
Ingo Schommer
120bcee4f8 Updated apollo-client 2016-12-22 11:26:44 +13:00
Will Rossiter
f4bf0cad3b Merge pull request #6420 from open-sausages/pulls/4.0/graphql
Gallery View & Create Folder uses GraphQL (fixes #316)
2016-12-22 09:24:15 +13:00
Daniel Hensby
8b8ea1aab0 Merge pull request #6426 from robbieaverill/bugfix/gridfield-filter-panel-selector
FIX Make GridField filter button selector more specific
2016-12-20 10:58:37 +00:00
Ingo Schommer
603b64c871 GraphQL 2016-12-20 17:20:06 +13:00
Robbie Averill
8ad030baba FIX Make GridField filter button selector more specific 2016-12-20 09:03:14 +13:00
Christopher Joe
d8843c6fe2 Enhancement Split out the fetch call easier mocking
API shirted getFileExtension to DataFormat
2016-12-19 10:11:14 +13:00
Christopher Joe
bb71a37cc8 API added enlarge icon
API added autofill callback in FormBuilder for fields to programmatically change another field value
2016-12-19 10:09:35 +13:00
Damian Mooyman
fb0f517769
Implement feedback 2016-12-16 13:46:36 +13:00
Damian Mooyman
88b4ae65cc API Add css class to assist with bootstrapping entwine sections 2016-12-16 13:41:50 +13:00
Christopher Joe
fcf1eedee4 FIX getting fileSize shouldn't give a "NaN" 2016-12-09 16:26:55 +13:00
Paul Clarke
6ec7804932 Enhancement Add icon size for 14px icons and table padding for asset list 2016-12-09 16:25:48 +13:00
Christopher Joe
799ebe5ba8 API Expose QueryString library and lib/Format as external for formatting items 2016-12-09 16:24:40 +13:00
Damian Mooyman
6e589aac75
API Updates to Form, ValidationResponse, ValidationException
API Implement form schema "errors" handling
2016-12-09 14:24:11 +13:00
Ingo Schommer
2846af891b Merge pull request #6366 from open-sausages/pulls/4.0/asset-admin-behat
API Add buttonTooltop to PopoverField and fix critical positioning issue
2016-12-08 21:23:11 +13:00
Damian Mooyman
6b06fd9f2d
API Add buttonTooltop to PopoverField and fix critical positioning issue 2016-12-07 13:06:35 +13:00
Christopher Joe
c405b4e41a remove required for actions 2016-12-06 14:27:27 +13:00
Paul Clarke
af853861ec Updated list-group styles to work with file history and campaigns 2016-12-06 14:10:50 +13:00
Paul Clarke
9b7e242f56 Updated list-group variables 2016-12-06 14:05:28 +13:00
Daniel Hensby
c6d43b477e
Merge branch '3' 2016-11-29 13:27:49 +00:00
Damian Mooyman
8e4ed776d8 API Expose FieldHolder react component 2016-11-29 16:14:20 +13:00
Daniel Hensby
1be2e70a2a
Merge branch '3' 2016-11-24 14:18:09 +00:00
Paul Clarke
f5923cf433 Update doc icons 2016-11-23 11:26:38 +13:00
Paul Clarke
35e313de17 Enhancement Fix height for modal in IE10
Enhancement Remove link color specific to header
Enhancement Close panel class renamed, as it is not always top right
2016-11-22 16:58:01 +13:00
Christopher Joe
875811fdfd API Create loading state for schema
API Create stateOverride state for schema
Enhancement Moved crumbs property to rely on redux state
Enhancement Updated file app icon names
API Added InsertMediaModal functionality to HtmlEditorField
API Removed dependency on schema ID that is returned from server
API Added afterMessages property for FormBuilder to display content after the alert message
2016-11-22 16:58:00 +13:00
Daniel Hensby
bcc21c2403
Merge branch '3' 2016-11-10 01:09:35 +00:00
Paul
61abbfbd60 Merge pull request #6289 from open-sausages/pulls/4.0/folder-spacing
State variables for pages and files
2016-11-09 09:47:55 +13:00
Paul Clarke
276392c3b2 build js 2016-11-08 17:45:22 +13:00
Paul Clarke
5666dab4b3 Added page/file sate variables 2016-11-08 17:41:11 +13:00
Paul Clarke
47179313eb Remove scroll from preview auto as its in iframe 2016-11-08 17:23:06 +13:00
Paul Clarke
2acbad1bb0 Rewrite preview for border-box and use variables 2016-11-08 17:23:06 +13:00
Paul Clarke
c5510fc416 Mobile device variables 2016-11-08 17:23:06 +13:00
Paul Clarke
b1be159155 Remove js sizing 2016-11-08 17:23:06 +13:00
Paul Clarke
9dbb5c0a1a fix safari tabs active border 2016-11-08 17:23:06 +13:00
Daniel Hensby
38ccce656b Merge pull request #6201 from open-sausages/pulls/4.0/update-devtools
Update devtools code to reflect the new API
2016-11-07 13:13:26 +00:00
Paul Clarke
d109992a37 Safari fix for menu toggle position and bottom of menu 2016-11-07 13:57:46 +13:00
Christopher Joe
8c15e53feb Update devtools code to reflect the new API 2016-11-07 09:08:01 +13:00
Damian Mooyman
ae037b68c6 Update translations 2016-11-03 14:53:52 +13:00
Damian Mooyman
3449d5df0f
BUG Fix broken promise handling 2016-11-03 11:45:54 +13:00
Christopher Joe
d65270c4c7 Removed temporary validation for AddToCampaign 2016-11-03 10:43:42 +13:00
Christopher Joe
8a7ea044ac Added validator class to decouple validation library from FormBuilder
Added required rule priority logic and fix styling of error messages
2016-11-03 10:39:53 +13:00
Damian Mooyman
67f00302f9 Add logic to React FormBuilder to utilise validation schema generated 2016-11-03 10:24:36 +13:00
Paul
c98a08f3f5 Merge pull request #6234 from open-sausages/pulls/4.0/fix-mediaform-errors
BUG Fix clicking "No items found" from causing ajax error
2016-11-01 13:22:00 +13:00
Damian Mooyman
1622ed8f69 Merge pull request #6242 from open-sausages/pulls/4.0/fix-overlay
BUG Fix missing loading overlay
2016-10-31 15:25:11 +13:00
Damian Mooyman
040ae2e6a3
BUG Fix clicking "No items found" from causing ajax error 2016-10-31 15:21:41 +13:00
Damian Mooyman
513c7aebc7 Fix HtmlEditorField.js indentation 2016-10-31 15:18:50 +13:00
Damian Mooyman
37cb351a66 Merge pull request #6222 from open-sausages/features/4.0/responsive-improvements
ENHANCEMENT: Improved behaviour for flexbox on smaller screens
2016-10-31 14:17:12 +13:00
Paul Clarke
76d3fb80e3 Nicer pattern for showing list view of pages 2016-10-31 13:36:41 +13:00
Damian Mooyman
3fb291d340 Merge pull request #6239 from open-sausages/pulls/4.0/fix-option-changetracker
BUG Fix incorrect change detection on checkbox fields
2016-10-31 13:26:13 +13:00
Christopher Joe
bb2cb3d487 Fix webpack css config, removes duplicate css files that were generated 2016-10-31 13:12:12 +13:00
Christopher Joe
e592c5b45e Remove back button if no callback was given
Fix FormBuilderLoader not chaining promise
2016-10-31 13:11:57 +13:00
Paul Clarke
4cc6cc3151 Fix position of back button on empty preview within campaigns 2016-10-31 12:55:53 +13:00
Paul Clarke
1395ee0c31 Don't hide gridfield content on small list view of tree 2016-10-31 12:21:48 +13:00
Paul Clarke
a5d3dccd37 Fix for preview being under toolbar 2016-10-28 16:53:00 +13:00
Paul Clarke
5df797b705 Toolbar-content to be flexible 2016-10-28 16:53:00 +13:00
Paul Clarke
50f0c1f37c Remove fixed height for batch actions 2016-10-28 16:53:00 +13:00
Paul Clarke
2daca4ebc6 Improve alert text, fix spacing 2016-10-28 16:53:00 +13:00
Paul Clarke
706d2b6458 Add additional space to tree bottom, required for large tree 2016-10-28 16:52:03 +13:00
Paul Clarke
fad8df83cc Remove console.log 2016-10-28 16:52:03 +13:00
Paul Clarke
71a4eb7d22 Hide preview in campaigns, override list styles for mobile 2016-10-28 16:52:03 +13:00
Paul Clarke
4373eb6801 Hide sitetree in smaller screens for setting and pages 2016-10-28 16:51:03 +13:00
Christopher Joe
debb1a947e Add responsive class for Campaign list
Fix back button in preview
Fix add to campaign in pages section
2016-10-28 16:51:03 +13:00
Paul Clarke
5350fcf650 Delete legacy styles in Layout, move rest to CampaignAdmin. Convert to BEM 2016-10-28 16:47:50 +13:00
Paul Clarke
c82c88ebf6 Remove legacy classes 2016-10-28 16:44:54 +13:00
Paul Clarke
5257c92fcd Remove legacy class 2016-10-28 16:44:54 +13:00
Paul Clarke
4ce2bcc360 Add back button style if it has text 2016-10-28 16:44:54 +13:00
Paul Clarke
3fd5a6d4e6 Add left border to preview and bg 2016-10-28 16:44:54 +13:00
Paul Clarke
d761075fd3 Move mock back button 2016-10-28 16:44:54 +13:00
Paul Clarke
0885a3178e Adjust button padding so they all have the same height 2016-10-28 16:44:54 +13:00
Paul Clarke
25783db020 toolbar-north to be 100%, removed from toolbar-content 2016-10-28 16:44:54 +13:00
Paul Clarke
50af94099e Remove some legacy layout styles 2016-10-28 16:39:59 +13:00
Paul Clarke
a95781e66e Search and batch actions to have same selected state 2016-10-28 16:39:59 +13:00
Paul Clarke
96964be39d Sitetree scroll moved so whole area scrolls excluding actions 2016-10-28 16:39:59 +13:00
Paul Clarke
364ab957e6 improve spacing of sitetree for smaller screens 2016-10-28 16:39:59 +13:00
Paul Clarke
6254f186b1 Remove border on left of preview mode 2016-10-28 16:39:59 +13:00
Paul Clarke
27724c0829 Remove set width of toolbar-content as it extends further than 100% 2016-10-28 16:39:59 +13:00
Chris Joe
82119888c1 Validation on server side for React forms (fixes #6205) 2016-10-28 16:13:29 +13:00
Damian Mooyman
adfd0456de Merge pull request #6241 from open-sausages/pulls/4.0/fix-pagination-wrapping
BUG Prevent pagination wrapping
2016-10-28 13:44:28 +13:00
Damian Mooyman
02bac8c4bc
BUG Fix missing loading overlay
Fixes #6163
2016-10-27 12:09:17 +13:00
Damian Mooyman
42096bb41b
BUG Prevent pagination wrapping
Fixes https://github.com/silverstripe/silverstripe-asset-admin/issues/269
2016-10-27 11:58:19 +13:00
Damian Mooyman
f7fd4ffae1
BUG Fix incorrect change detection on checkbox fields
Fixes #6121
2016-10-27 11:15:37 +13:00
Damian Mooyman
5551040839 API Update listview / treeview to use pjax instead of deferred loading 2016-10-26 14:29:10 +13:00
Damian Mooyman
44b65429f1 Merge pull request #6212 from open-sausages/pulls/4.0/search-bg
Adjustments for filter panel positioning
2016-10-26 14:27:24 +13:00
Christopher Joe
8de2f9dbb4 switched from calc to negative margin 2016-10-26 10:43:51 +13:00
Paul Clarke
4b413d395e Adjustments for filter panel positioning 2016-10-21 14:09:39 +13:00
Damian Mooyman
316ac86036
API Writes to versioned dataobjects always writes to stage even when written on live
API Remove "Archive" actions
API "Delete" actions for pages now archives records
BUG Fix batch actions failing on certain controllers
Fixes #6059
2016-10-21 13:16:32 +13:00
Ingo Schommer
9ca359e5de Merge pull request #6208 from open-sausages/pulls/4.0/tab-spacing
Add spacing to nested tabs
2016-10-21 12:53:35 +13:00
Ingo Schommer
bf02abe688 Merge pull request #6209 from open-sausages/pulls/4.0/button-internal-padding
Remove additional spacing from buttons with no icon
2016-10-21 12:53:19 +13:00
Paul Clarke
833dbbcafe remove additional spacing from buttons with no icon 2016-10-21 11:40:31 +13:00
Paul Clarke
19c1ed9443 add spacing to nested tabs 2016-10-21 11:28:29 +13:00
Ingo Schommer
aa47845a6c Updated dist files 2016-10-20 22:03:42 +13:00
Ingo Schommer
3a690d8084 Moved promise polyfill into boot logic
It's not specific to one single component
2016-10-20 22:03:42 +13:00
Ingo Schommer
54a4cef863 Consistently use 'value' for FormField schemas
LiteralField (data.content) was inconsistent with HTMLReadonlyField (value),
which made the frontend components harder to handle.

See https://github.com/silverstripe/silverstripe-framework/pull/6172#discussion_r83561757 for contex
2016-10-20 22:03:38 +13:00