Commit Graph

18381 Commits

Author SHA1 Message Date
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
Daniel Hensby
5a6f784e42
Merge branch '3.4' into 3.5 2017-02-20 21:31:09 +00:00
Daniel Hensby
34f408aaba
Merge tag '3.5.3' into 3.5
Release 3.5.3
2017-02-20 21:31:05 +00:00
Daniel Hensby
8ca70b5b20
Merge tag '3.4.5' into 3.4
Release 3.4.5
2017-02-20 21:27:53 +00:00
Dan Hensby
a2580456bd Added 3.5.3 changelog 2017-02-20 17:01:16 +00:00
Dan Hensby
4d48548d89 Update translations 2017-02-20 17:01:16 +00:00
Dan Hensby
9cd480e47a Added 3.4.5 changelog 2017-02-20 16:41:59 +00:00
Dan Hensby
249b143edd Update translations 2017-02-20 16:41:56 +00:00
Daniel Hensby
e03b80f47f Merge pull request #6633 from oilee80/master
Fix for bug introduced in 5e19d905
2017-02-19 15:36:07 +00:00
Lee Bradley
f6f19908de Fix for bug introduced in #5e19d905
JS selector wrongly scoped to remove element
2017-02-17 15:49:58 +00:00
Daniel Hensby
12da6ee594 Merge pull request #6631 from mikaelayoung/#3259_make_upload_field_more_friendly
#3259 Make UploadField.ss more friendly
2017-02-17 08:39:47 +00:00
Daniel Hensby
a3ff6d56ec Merge pull request #6628 from open-sausages/pulls/4.0/fix-i18n-theme-lang-dirs
Absolute paths for theme lang dirs (fixes #1354)
2017-02-17 08:24:03 +00:00
Daniel Hensby
ab6d2819c1 Merge pull request #6630 from mikaelayoung/#1496_Make_CMS_website_title_a_link
Make CMS website title a link to website in new tab
2017-02-17 08:20:49 +00:00
Ingo Schommer
d2de4b10e1 Absolute paths for theme lang dirs (fixes #1354)
Regression in 4.x i18n rewrite. Can’t test this since ThemeResourceLoader hardcodes constants like THEME_DIR,
so its impossible to mock in different directory structures. Ideally this would use an application object with access
to environment variables, but that’s too much of a refactor to validate this simple fix.
2017-02-17 16:26:44 +13:00
Mikaela Young
3a18f9e336 #3259 Make UploadField.ss more friendly 2017-02-17 15:53:46 +13:00
Mikaela Young
7413c5ce30 Make CMS website title a link to website in new tab 2017-02-17 14:45:11 +13:00
Daniel Hensby
c1ccf354cb Merge pull request #6629 from open-sausages/pulls/4.0/document-setlocale
Document correct setlocale() use (fixes #6311)
2017-02-17 00:37:55 +00:00
Ingo Schommer
7e71ef7cb8 Document correct setlocale() use (fixes #6311) 2017-02-17 12:30:52 +13:00
Juan van den Anker
30725916db FIX Array to string conversion message after CSV export (#6622)
* FIX Array to string conversion message after CSV export

* Removed invalid line endings
2017-02-15 22:20:00 +00:00
Ingo Schommer
2805a13cc5 Merge pull request #6607 from open-sausages/pulls/4.0/i18n-locale
API Substitute Zend_Locale / Zend_Date with php-intl
2017-02-16 10:56:13 +13:00
Ingo Schommer
b7bed18192 Mark setShowCalendar() as experimental 2017-02-16 10:55:07 +13:00
Ingo Schommer
80723c077b Reinstated separated DateField functionality 2017-02-16 09:06:14 +13:00
Ingo Schommer
a9f2e9e73d Fixed DateFieldSeparated docs 2017-02-16 08:26:51 +13:00
Anselm Christophersen
449ed8d379 Text supports up to 16 megabytes, not 2 (#6368)
See the `requireField` method that defines it as `mediumtext`.
2017-02-15 11:14:41 +13:00
Damian Mooyman
014f0d23ed
API Create SeparatedDateField
API Restrict allowed values parsed via DBDate::setValue
API Remove NumericField_Readonly
API Remove DBTime::Nice12 / Nice24
2017-02-15 11:07:58 +13:00
Daniel Hensby
b0e5d426e5 Run code coverage upload after success (#6609) 2017-02-15 11:05:32 +13:00