1287 Commits

Author SHA1 Message Date
Luke Towers
1e8cfb47af Manual comb through and rebrand following up the bulk patch rebrand 2021-03-10 15:25:57 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Luke Towers
7e383e7c45 Auto detect editor to use in CMS template editing section 2021-03-06 03:24:39 -06:00
Luke Towers
924b4ce844 Revert 1fac424f71.
Refs: https://github.com/octobercms/october/issues/5457
2021-03-06 03:09:32 -06:00
Marc Jauvin
c02346b3d5
Disable customize button on inactive themes (#5492) 2021-02-04 10:35:01 -06:00
Kallef Alexandre
e4a6fcc24a
Improve Brazilian Portuguese translations (#5490) 2021-02-03 14:35:12 -06:00
Szabó Gergő
533e17775a
Improvements to the Hungarian translation (#5475) 2021-02-01 07:43:42 +08:00
Luke Towers
47b2aa0f15
Fix safeMode triggering unnecessarily
Fixes a long standing issue where when safe mode is enabled and the line endings present in the templates differed from the line endings used by the user's browser it would cause safe mode to prevent saving any changes (even when those changes did not include real changes to the code property) because the user's browser would "helpfully" change the original line endings to the line endings of the browser before sending it back to the server.
2021-01-15 14:54:31 -06:00
Luke Towers
2af7bd97a3 Fixed bug where /0 would return the homepage.
Fixes #5390.
2020-12-08 12:00:58 -06:00
Ben Thomson
40303e4aee
Disable booting backend localization if theme is missing.
Fixes https://github.com/octobercms/october/issues/5381
2020-12-04 16:30:23 +08:00
Ben Thomson
16e0bd4d09
Move theme localization to the boot process. (#5349)
It appears that doing this in the "register" process can result, at times, in an exception to be thrown as the connection to the DB is not yet established.
2020-11-11 09:53:31 +08:00
Ben Thomson
50816a9556
Add support for defining quick actions in the Backend's main nav (#5344)
Plugins now have the ability to define quick actions through a "registerQuickActions" method, which follows the same configuration as the "registerNavigation" method. It is still recommended and preferred that most plugin functionality be defined in their own main menu items, but this will allow a plugin to easily define a shortcut (or remove one).
2020-11-10 12:53:17 +08:00
Marc Jauvin
3590571642
fix themes localization namespace (#5348) 2020-11-09 13:10:22 -06:00
Siarhei Karavai
061d35e5fd
Register theme backend localization files (#4960)
Closes #4308.
2020-11-07 15:13:25 -06:00
Senuros
5dfe1ff748
Improve German translation (#5331) 2020-10-25 20:10:08 -06:00
Bertware
6fb3708440
Improve Dutch translation (#5328)
Sources:
https://www.vandale.nl/gratis-woordenboek/nederlands/betekenis/component
http://de-of-het.nl/component/
2020-10-23 14:14:59 -06:00
Marc Jauvin
20181b16de
Remove hidden CMS pages from menus (#5309) 2020-10-12 11:35:33 -06:00
Luke Towers
dca6128501 Change Twig template loading fallbacks
Previously:
- registered Laravel view file
- attempt to load file as a CMS partial

Now:
- registered Laravel view file
- valid CMS partials
- any file that Twig can access (from the project root) rendered as a plain twig template (but with support for the CMS twig environment)

Fixes 80aab47f04 (commitcomment-42223643), https://github.com/octobercms/october/issues/5261#issuecomment-691235167
2020-09-11 15:47:49 -06:00
serega-kasyanow
4c41eee1b3
Update module facade docblocks (#5273) 2020-09-11 10:49:16 +08:00
lctoan
1ef50d4751
Improve Taiwanese translations (#5264) 2020-09-07 09:48:12 -06:00
Luke Towers
79cbfa34a6 Composer updates for 1.1.0 2020-09-06 21:07:10 -06:00
Luke Towers
fd2d634b5e Composer updates for 1.0.469 2020-09-06 21:05:00 -06:00
Luke Towers
482167d1d1 Merge branch '1.0' into develop 2020-09-04 15:23:02 -06:00
Luke Towers
e9e4210842 Allow infinitely nested CmsObjects that may have been permitted to load previously through the filesystem continue to load. 2020-09-04 15:22:48 -06:00
Luke Towers
dd5fd34ae7 Merge branch '1.0' into develop 2020-09-04 01:27:53 -06:00
Samuel Georges
4c650bb775 Security fixes for v1.0.469
Introduces sandbox policy to block extendable methods allowing arbitrary code execution
2020-09-04 13:02:01 +10:00
Web-VPF
50bdfa0c39
Improve Russian translations (#5258) 2020-09-02 11:58:00 +08:00
Web-VPF
f708754f07
Update Russian translation (#5247) 2020-08-23 02:51:48 -06:00
Luke Towers
edae0c2476 Allow aliased non-compound use statements in the code section.
Follow up to: c1bb695f4b (diff-2040a96d3a0b43fe38675a7ee54fd8d6)
2020-08-23 01:23:06 -06:00
Ben Thomson
c7ed0ffa1a
Implement improved testing procedure (#5238)
Refs: 5feb7b872f
2020-08-14 08:00:39 +08:00
Ben Thomson
3a1f547adb
Use new PathResolver methods for handling file Asset / Object paths 2020-08-13 12:48:07 +08:00
Ben Thomson
50e61df10e
Fix path validation for CmsObjects & Assets (#5229)
Instead of using a temporary file to allow checks with `realpath()` to succeed, use the new `resolve_path()` helper added in a9a629b012 to replace the `realpath()` usage and allow for path resolution of files that don't exist yet.

This will allow new asset files to still be saved correctly, whilst still preventing paths outside of the assets directory to be used.

Replaces b1954e9258.
2020-08-05 12:00:22 -06:00
Luke Towers
0a9c751e1b Merge branch 'develop' into wip/laravel-6 2020-08-03 01:49:06 -06:00
Luke Towers
b1954e9258 Fix creating asset files
Fixes #5228
2020-07-30 10:35:02 -06:00
Luke Towers
18714ae9f0 Add L6 as a dep to the modules to prevent people with older Laravel versions from accidentally pulling in the L6 update 2020-07-19 01:42:58 -06:00
Luke Towers
d17b6eaf32 Merge branch 'develop' into wip/laravel-6 2020-07-17 00:47:32 -06:00
Romain 'Maz' BILLOIR
745bdf9022
Add missing French translations (#5210) 2020-07-16 16:42:28 +08:00
Ben Thomson
327d7be604
Merge remote-tracking branch 'origin/develop' into wip/laravel-6 2020-07-10 16:02:01 +08:00
Luke Towers
c1bb695f4b
Fix "use statement with non-compound names has no effect" (#5206)
Fixes #5205.
2020-07-09 02:19:36 -06:00
Ben Thomson
9412a2bb20
Merge remote-tracking branch 'origin/develop' into wip/laravel-6 2020-07-01 10:42:33 +08:00
Luke Towers
dea03a698c Use the Lang facade rather than the trans helper function 2020-06-28 11:14:35 -06:00
Luke Towers
c84c51c820 Improve error message when attempting to fork an unforkable component.
Fixes #5142 and rainlab/forum-plugin#141
2020-06-28 10:57:47 -06:00
Luke Towers
ad69711634 Merge branch 'develop' into wip/laravel-6 2020-06-11 10:38:29 -06:00
Luke Towers
c03fd66aeb Support new onUpload() AJAX handler for uploads instead of postback takeovers.
Fixes #5104. Refs: 4f7e2995c7
2020-06-05 16:01:22 -06:00
Luke Towers
5c3ba9a28a Fix naming conflict
Reported by @alxy https://github.com/octobercms/october/pull/5088#issuecomment-636448210
2020-05-31 11:23:31 -06:00
Luke Towers
252c9b7f58 Merge branch 'develop' into wip/laravel-6 2020-05-27 12:44:54 -06:00
Alwin Drenth
8196b8169e
Improved Dutch translations (#5091) 2020-05-26 09:59:11 -06:00
Luke Towers
655c8011b9
Fix client side validation (#5088)
* Add data-request-validate to core save buttons

* Check if client side validation is desired before running it

Fixes #5076.
2020-05-25 12:53:48 -06:00
Luke Towers
62a4354b6f Merge branch 'develop' into wip/laravel-6 2020-05-22 21:04:15 -06:00
Luke Towers
0c46209725 Fix crash when a cached path doesn't actually exist in the specified datasource
Fixes an issue when using databaseTemplates where if the pathCache had been generated, and then any template was removed from the database manually the pathCache being out of date would cause an exception to be thrown elsewhere.
2020-05-22 21:01:45 -06:00