Commit Graph

18558 Commits

Author SHA1 Message Date
Sam Minnée
5388ff41ec Merge pull request #6641 from open-sausages/pulls/4.0/micmania-config
API Substitute silverstripe/config module for core config
2017-02-28 11:26:42 +11:00
Damian Mooyman
e74556b322 API Protect Director::get_environment_type() from invoking 2017-02-28 10:49:29 +13:00
Robbie Averill
badf7d3a73 FIX Add quotes to constants in YAML to ensure syntax validity 2017-02-27 21:48:42 +13:00
Robbie Averill
e64e8d151f FIX Remove duplicated tab "active" state in Security admin 2017-02-27 18:55:44 +13:00
Robbie Averill
d47a4ef63f DOCS Swap legacy code block syntax for GFM
This page (currently) for example breaks the code block whenever you mix spaces and tabs for indentation (which is currently part of the 3.x style guideline) - it makes updating existing code examples in the docs quite difficult: https://docs.silverstripe.org/en/3/developer_guides/templates/requirements/

GFM isn't as picky - this PR replaces with it.
2017-02-27 16:54:43 +13:00
Damian Mooyman
ff47bc03d7 BUG Remove reference to $_SERVER within FakeController 2017-02-27 16:54:01 +13:00
Damian Mooyman
695194546d BUG Ensure test fixture uses test module manifest 2017-02-27 16:54:01 +13:00
Damian Mooyman
3983b4d1b1 Fix cache used in ModuleManifest 2017-02-27 16:54:01 +13:00
Damian Mooyman
c452d5f6cd API Rename CoreConfigCreator to CoreConfigFactory
Fix rebase regressions
2017-02-27 16:54:01 +13:00
Damian Mooyman
e2064b5cc8 Update config documentation 2017-02-27 16:54:01 +13:00
Damian Mooyman
8444a21cbf API Upgrade tests to use new Config API 2017-02-27 16:54:01 +13:00
Damian Mooyman
3362e15a29 API Upgrade code to use updated config 2017-02-27 16:54:01 +13:00
Damian Mooyman
3958788858 API Remove Director.environment_type config and replace with static methods 2017-02-27 16:54:01 +13:00
Damian Mooyman
a6e9a7111b API Substitute core config system with new silverstripe/config module 2017-02-27 16:54:01 +13:00
Damian Mooyman
72ddac2a56 API Implement ModuleLoader for module registration by composer name 2017-02-27 16:54:01 +13:00
Damian Mooyman
deca009811 Merge pull request #6654 from open-sausages/pulls/4.0/save-me
Prevent unsaved changes alert when clicking a save button
2017-02-27 16:21:17 +13:00
Damian Mooyman
eaf1aeda57 Merge pull request #6653 from open-sausages/pulls/4.0/fix-modeladmin-sizing
BUG Fix modeladmin scrollable height cropping pagination
2017-02-27 14:58:07 +13:00
Damian Mooyman
9da8413ad8 Merge pull request #6651 from zanderwar/patch-1
Added check for register_argc_argv
2017-02-27 14:44:53 +13:00
Damian Mooyman
423b1d4eee BUG Fix modeladmin scrollable height cropping pagination 2017-02-27 13:24:51 +13:00
Christopher Joe
b7123abf22 Fix prevent unsaved changes alert when clicking a save button 2017-02-27 12:22:49 +13:00
Damian Mooyman
eda4aae923 Merge pull request #6636 from open-sausages/pulls/4.0/filehandlefield-class
Change to use injector for file upload fields in framework
2017-02-27 12:03:16 +13:00
Damian Mooyman
b3fc11e594
API Move ssmedia plugin to asset-admin 2017-02-27 10:58:41 +13:00
Damian Mooyman
1d49c4afe9 API Remove non-asset-admin TinyMCE media dialog
API Split ssplugin into ssmedia and sslink plugins
2017-02-27 10:38:23 +13:00
Damian Mooyman
bab52e2403 Tweak dropdownfield 2017-02-27 10:38:23 +13:00
Christopher Joe
8b5fcd3336 Fix download file link works with the new TreeDropdown 2017-02-27 10:38:23 +13:00
Christopher Joe
98ecaf9bd0 Change UploadField to TreeDropdownField for modal fields
Change UploadField to abstract placeholder FileHandleField for non-modal fields
2017-02-27 10:38:23 +13:00
Ingo Schommer
6641560987 Merge pull request #6593 from sminnee/env-error
Missing .env error detection
2017-02-27 08:38:10 +13:00
Reece Alexander
3d4d94358b Added check for register_argc_argv
Adds a hint to an issue that had me clueless for awhile.

I have a strange scenario where my shell user is different to my cPanel Cron Manager and run from two different configurations. This lead to a vicious circle of wondering why it works in SSH, but not within the cron manager.
2017-02-26 20:01:18 +10:00
Sam Minnee
3952769ea3 NEW: More helpful error when .env is missing.
If your database configuration isn’t found, it’s quite likely that this
is because you have a stray _ss_environment.php file that you haven’t
converted to a .env file.

This patch detects this situation and provides a more helpful error.
2017-02-26 15:19:31 +13:00
Sam Minnee
f63b741e46 FIX: Improve DebugView’s display of non-header information.
DebugView had not ability just to output a regular paragraph that
didn’t have a blue background.

This refactors the CSS classes a bit to amend this.
2017-02-26 15:07:32 +13:00
Sam Minnée
dcd06dfc64 Merge pull request #6648 from open-sausages/pulls/4.0/6252-psr-cache
PSR-16 cache
2017-02-26 14:57:33 +13:00
Ingo Schommer
97b7a89759 Remove Zend_Translate_RailsYAML 2017-02-26 13:08:03 +13:00
Ingo Schommer
cef4ab79a6 Remove debug code 2017-02-26 13:08:02 +13:00
Ingo Schommer
d220ca3f67 API Use symfony/cache (fixes #6252) 2017-02-26 13:07:59 +13:00
Ingo Schommer
84ee2c1448 Remove Zend_Cache (#6252)
Replaced with a PSR-16 implementation
2017-02-26 10:27:17 +13:00
Damian Mooyman
651b4a775c Merge pull request #6650 from flamytwista/patch-3
Small translation misprint fix.
2017-02-26 09:43:25 +13:00
Taras Yemtsov
aa176ef84b Small translation misprint fix. 2017-02-25 16:45:50 +03:00
Damian Mooyman
ec1446ef93 Merge pull request #6649 from open-sausages/pulls/4.0/search-close
Revisit close button overlap
2017-02-24 14:22:19 +13:00
Christopher Joe
7b498f2fdf Make container for Search component the relative component to use 2017-02-24 13:25:02 +13:00
Stevie Mayhew
81767250ab Merge pull request #6645 from open-sausages/pulls/4.0/better-env-guide
Improve upgrading guide for `.env`
2017-02-24 11:53:17 +13:00
Damian Mooyman
aa69cfe497
Improve upgrading guide for .env 2017-02-24 09:18:47 +13:00
Damian Mooyman
92a105da57 Merge pull request #6634 from open-sausages/pulls/4.0/drag-n-drop-things
Added drag and drop libraries
2017-02-22 17:39:28 +13:00
Christopher Joe
eac587c519 update shrinkwrap lock file 2017-02-22 16:46:20 +13:00
Christopher Joe
2513a0f4c3 API Added drag and drop libraries
API Added a badge component
2017-02-22 16:46:20 +13:00
Damian Mooyman
129fd9146c Merge pull request #6640 from dhensby/pulls/4/test-cleanup
Ensure test objects implement TestOnly
2017-02-22 10:36:45 +13:00
Daniel Hensby
1c55948fc1
Ensure test objects implement TestOnly 2017-02-21 20:30:15 +00:00
Daniel Hensby
a8827b7fa0 Merge pull request #6638 from oilee80/master
Fixes for issues introduced in 5e19d905
2017-02-21 11:48:41 +00:00
Lee Bradley
0361194267 Fixes for issues introduced in 5e19d905
As the "onunmatch" is triggered AFTER the element is removed
  from the DOM it never finds the `closest('div')` when switching
  screens. E.g. when using GridField edit
  So when you go from the GridField edit screen back to the page
  you end up with the page loaded but the spinner doesn't disappear
Other option would be to do `$('body').find('.cms-content-loading-overlay,.cms-content-loading-spinner').remove()`
  but this is probably a bit drastic
2017-02-21 10:48:03 +00:00
Daniel Hensby
7156da6279
Merge branch '3' 2017-02-20 22:19:33 +00:00
Daniel Hensby
0ddf3b4186
Merge branch '3.5' into 3 2017-02-20 21:33:31 +00:00