Matias Griese
cdf891478e
Fixed some phpstan level 2 issues
2019-03-13 11:05:50 +02:00
Matias Griese
39b1940f94
Fixed phpstan level 1 issues
2019-03-13 10:16:47 +02:00
Matias Griese
8564524984
Fixed some bugs found by phpstan
2019-03-13 09:49:08 +02:00
Matias Griese
6e2e533184
Minor fix for FlexUser, changelog update
2019-03-13 08:30:38 +02:00
Sébastien Vanvelthem
ecd39421d6
Some phpstan issues ( #2393 )
...
* Fix bug, method init must be protected
* Added phpstan level 0
* Added exclusions
* Fix: incorrect case in Twig_SimpleFunction
* Fix, no abstract properties, if properties used in methods let's set them
* Fixed Psr\SimpleCache\InvalidArgumentException referenced with incorrect case
* added exclusions
* Fixed: Access to an undefined property Grav\Framework\Form\FormFlash::$uploadObjects.
* Fixed: does not call parent constructor from Grav\Common\Iterator.
* Fixed: does not call parent constructor from Grav\Common\Iterator.
* Fixed: does not call parent constructor
* Fixed: does not call parent constructor
* Minor: correct type for inflector
* Moved phpstan.neon out of public directory
* Added exclusion
* set GRAV_USER_INSTANCE to prevent LogiException in User
* Exlude Stream:create
* Minor: Missing storage property
* Minor: Fixed missing properties (phpstan level 1)
* Added type for $data
* Minor: Ensure $langs is initialized
* Fix possible bug in $http_response_header status code retrieval (PHP 7.1 only)
* Added exclusion for $http_response_header (isset is actually not required)
* Strict null check
2019-03-13 08:15:22 +02:00
Matias Griese
b3d84a05f5
Merge remote-tracking branch 'origin/1.6' into 1.6
2019-03-12 20:25:35 +02:00
Matias Griese
95495614a8
Simplify grav services and processors
2019-03-12 20:25:17 +02:00
Andy Miller
8718c5ef31
Remove legacy media.upload_limit references
2019-03-12 06:25:56 -06:00
Andy Miller
7d7418df26
Merge branch '1.6' of github.com:getgrav/grav into 1.6
2019-03-11 12:14:26 -06:00
Andy Miller
dd9aa5bf78
couple of helpers
2019-03-11 12:14:21 -06:00
Matias Griese
7f86f8eb6f
Bug fixes
2019-03-11 14:35:44 +02:00
Matias Griese
8b4cac7ba6
Fixed settion caching in FlexIndex
2019-03-11 14:14:20 +02:00
Matias Griese
b388e91177
Implemented Grav\Framework\Pagination classes
2019-03-11 13:25:47 +02:00
Matias Griese
a2ac3f4c8b
FlexForm: Fix unique id for new objects
2019-03-08 20:35:54 +02:00
Matias Griese
1db8b93cfa
Request object: Include attribute for request time
2019-03-08 20:34:14 +02:00
Matias Griese
6217ac90e0
Improved Flex::getObjects() logic
2019-03-07 14:43:24 +02:00
Matias Griese
bb385490bc
Regression: index not working due to missing method
2019-03-07 11:15:16 +02:00
Matias Griese
a5e48ba160
Fixed typo
2019-03-06 12:35:10 +02:00
Matias Griese
c7a4e8e4bb
Added FlexObjectInterface::search() and FlexCollectionInterface::search() methods
2019-03-06 12:34:00 +02:00
Matias Griese
85d5b6e889
Generalized flex index creation
2019-03-06 10:19:47 +02:00
Matias Griese
5008672a48
Add missing extend to PageInterface
2019-03-05 15:40:34 +02:00
Matias Griese
4e03f19bac
Update all classes to rely on PageInterface instead of Page class
2019-03-05 15:29:39 +02:00
Matias Griese
a03c328ee3
Create set of interfaces for all page methods
2019-03-05 15:16:01 +02:00
Andy Miller
77ac68f2e8
Merge branch '1.6' of github.com:getgrav/grav into 1.6
2019-03-04 20:05:21 -07:00
Andy Miller
02acc34461
Move last backup logging into the backup command
2019-03-04 20:05:15 -07:00
Matias Griese
a402a8ef84
Fix FlexForm::getBlueprint() for admin
2019-03-05 00:15:30 +02:00
Matias Griese
60573c1d78
Add parameters for FlexForm::getMediaTaskRoute
2019-03-04 22:59:43 +02:00
Matias Griese
56adf40bb4
Merge remote-tracking branch 'origin/1.6' into 1.6
2019-03-04 18:22:57 +02:00
Matias Griese
d33c45165d
Add object.media[filename] support into FlexMediaTrait
2019-03-04 18:22:47 +02:00
Andy Miller
032acedafe
Lang updates
2019-03-01 14:32:59 -07:00
Matias Griese
85af461eb4
FlexObject: When creating object and key isn't set, use storage key instead
2019-03-01 15:13:21 +02:00
Matias Griese
4b1a129f38
Merge remote-tracking branch 'origin/1.6' into 1.6
2019-03-01 14:48:01 +02:00
Matias Griese
1762ef3d1e
Added Medium::size()
2019-03-01 14:47:53 +02:00
Andy Miller
8ffba2d88d
fix typo
2019-03-01 05:44:21 -07:00
Andy Miller
f19cb94f89
cleanup
2019-03-01 05:25:29 -07:00
Andy Miller
8fb7caa22a
Safer check for admin
2019-02-28 18:44:29 -07:00
Andy Miller
6765c5f594
Merge branch '1.6' of github.com:getgrav/grav into 1.6
2019-02-28 14:59:39 -07:00
Matias Griese
026f9cb3a0
Fixed potential undefined property in onPageNotFound event handling
2019-02-28 22:35:37 +02:00
Andy Miller
516dfd5c26
Merge branch '1.6' of github.com:getgrav/grav into 1.6
2019-02-28 11:30:12 -07:00
Andy Miller
1fbd5e0b38
Fix for static admin::tu() call
2019-02-28 11:29:54 -07:00
Matias Griese
b35a892853
Added Flex::getObjects() and Flex::getMixedCollection() methods for co-mingled collections
...
Added support to use single Flex key parameter in `Flex::getObject()` method
2019-02-28 16:26:39 +02:00
Matias Griese
578f8e4947
Grav\Framework\File\AbstractFile::save(): Fixed missing directory creation
2019-02-28 10:26:41 +02:00
Andy Miller
a934dd4fff
Minor backup things
2019-02-27 12:46:32 -07:00
Matias Griese
df226a1102
Improved File::save() to use a temporary file if file isn't locked
2019-02-26 23:00:43 +02:00
Matias Griese
8947f5ade9
Improved File::save() not to use file lock, but a temporary file, fixed Obtaining write lock failed on file...
2019-02-26 21:21:07 +02:00
Matias Griese
941a5db8de
Disable deprecation messages for Page methods for now (used in too many places)
2019-02-26 15:17:03 +02:00
Matias Griese
2fcaaea6ac
Fixed mkdir(...) race condition
2019-02-26 15:13:40 +02:00
Matias Griese
f934256e06
Added more deprecation messages
2019-02-26 12:11:51 +02:00
Matias Griese
ccb465e998
Grav 1.6: Renamed $grav['users'] service to $grav['accounts']
2019-02-26 12:11:15 +02:00
Andy Miller
2e647be565
this is deprecated...
2019-02-25 16:30:31 -07:00