Andy Miller
a86e0d4b96
Update copyright date
2023-01-02 11:09:32 -07:00
Andy Miller
01264ef70d
initial commit
2022-09-22 12:36:36 -06:00
Andy Miller
3b7921b698
updated copyright year
2022-01-03 09:14:00 -07:00
Matias Griese
e4f79dbfce
Minor fixes
2021-11-30 19:02:42 +02:00
Matias Griese
30b55ae150
Phpstan fixes
2021-09-24 12:19:41 +03:00
Matias Griese
370b0674bd
Fixed Folder::move() throwing an error when target folder is changed by only appending characters to the end [ #3445 ]
2021-09-21 13:42:18 +03:00
Matias Griese
9eb20e37c8
Fixed Folder::move() deleting the folder if you move folder into itself, created empty file instead
2021-03-23 10:16:26 +02:00
Djamil Legato
25f8b787b6
Oh, don’t mind me… just bringing Grav to 2021! 🎆
2021-02-04 21:09:42 -08:00
Matias Griese
2777bedb51
Updated a lot of docblocks
2020-12-10 23:15:02 +02:00
Matias Griese
819e412e09
Improve docblocks in Grav\Common, improve code readability
2020-09-20 22:04:40 +03:00
Matias Griese
62e863dec0
Improve Media handling in Flex
2020-06-03 18:06:37 +03:00
Andy Miller
a2d1cdfc13
rename hasChildren to countChildren
...
Signed-off-by: Andy Miller <rhuk@mac.com>
2020-05-22 10:31:30 -06:00
Andy Miller
dcb0c490ba
return count of children rather simple boolean
...
Signed-off-by: Andy Miller <rhuk@mac.com>
2020-05-22 10:29:29 -06:00
Matias Griese
d25014779d
Fixed some phpstan issues
2020-05-05 19:35:09 +03:00
Andy Miller
107341f33f
Fast check to see if a dir has child dirs
2020-03-06 12:34:33 -07:00
Andy Miller
a6f7637134
Updated copyright dates to 2020
2020-01-02 16:54:14 -07:00
Matias Griese
1718135614
Merge branch 'develop' of github.com:getgrav/grav into 1.7
...
Conflicts:
CHANGELOG.md
2019-12-10 19:09:02 +02:00
Matias Griese
a269d49392
Fixed filesystem iterator calls with non-existing folders
2019-12-10 18:59:58 +02:00
Matias Griese
620fd7ed88
Added missing docblocks, fixed some typehints
2019-12-04 10:25:24 +02:00
Matias Griese
6b3b6106bf
Code quality improvements
2019-11-15 09:03:47 +02:00
Keith Bentrup
8678f22f6b
do NOT ignore "." dirs OR ignore "." dirs and all children ( #2581 )
...
If you ignore any "files" beginning with "." including directories, then the all() method will exclude .somedir, but not .somedir/somefile. Subsequently, when trying to copy all files returned from all(), it will fail when the method tries to copy a file into a directory that has not yet been created because .somedir was omitted from the return array of all().
I found this bug when trying to install the admin plugin and ./tmp was a mount and thus rename() failed and self:copy() was invoked instead (line 365).
2019-10-23 15:39:05 -06:00
Matias Griese
b0b6c1dd17
Fixed some more phpstan level 2 issues
2019-03-13 15:21:09 +02:00
Matias Griese
2fcaaea6ac
Fixed mkdir(...) race condition
2019-02-26 15:13:40 +02:00
Matias Griese
9bd66031ab
Grav 1.6 code cleanup ( #2366 )
...
* Code cleanup
* Define admin menu for Flex Users
2019-02-08 12:56:15 +02:00
Matias Griese
1141dabbd8
Code cleanup
2019-01-31 17:32:06 +02:00
Matias Griese
4f80a1567d
Update PHP file headers and copyrights
2019-01-31 10:04:57 +02:00
Andy Miller
23098a6b02
Revert "Grav 1.6 copyright updates and cleanup (PHP files only) ( #2351 )"
...
This reverts commit 0566185c4f .
2019-01-30 17:54:37 -07:00
Matias Griese
0566185c4f
Grav 1.6 copyright updates and cleanup (PHP files only) ( #2351 )
...
* Framework: update copyrights to 2019
* Some code cleanup (Assets, Backup, Config, Session)
* Continue code cleanup, update copyrights
* Fixed exception issues in scheduler, code cleanup
* Remove apc and xcache support, make apc alias of apcu
* Fixed Getters::count() method not returning anything
* More code cleanup, copyright updates
* Copyright updates for Grav\Console
2019-01-30 13:44:19 -07:00
Matias Griese
0743816822
Flex: Improved object indexing
2018-11-14 16:18:59 +02:00
Matias Griese
072c7929f7
Fixed Folder::doDelete($folder, false) removing symlink when it should not
2018-10-23 20:16:12 +03:00
Andy Miller
7ec66b2bf2
Transferred copyright
2017-12-11 15:08:05 -07:00
Matias Griese
980b2b67cd
Code readability improvements
2017-11-06 10:18:22 +02:00
Andy Miller
7dd886837f
Tweak to 'hash' file check method
2017-05-20 22:17:40 -06:00
Matias Griese
65d844c6e7
Merge branch 'feature/objects' of https://github.com/getgrav/grav into 2.0
2017-05-10 09:43:38 +03:00
Flavio Copes
cdc6b910cb
Bump year
2017-05-05 17:21:59 +02:00
Matias Griese
c7c3659312
Fixed Folder::move()
2017-02-27 20:28:37 +02:00
Matias Griese
76c870ce04
Add new collection and object classes
2017-02-10 20:53:35 +02:00
Flavio Copes
085ca323e2
Fix #1254 issue in trying to process broken symlink
2017-01-17 14:25:42 +01:00
Flavio Copes
cc96d160a4
Try rename before doing copy&delete
2017-01-04 16:43:56 +01:00
Flavio Copes
61005360a5
Add a better fix for #635 . Overwrites https://github.com/getgrav/grav/pull/1214
2017-01-03 21:39:57 +01:00
Flavio Copes
335c44385a
Fixes #635 use mv instead of rename as that does not support cross volume operations ( #1214 )
...
* Fixes #635 use mv instead of rename as that does not support cross volume operations
* Handle case exec is disabled
* Handle case is windows, where mv does not work
* Move isWindows check to Utils
2017-01-03 09:28:25 +01:00
Flavio Copes
5b6452d89e
Revert "Fix #635 use mv instead of rename as that does not support cross volume operations"
...
This reverts commit d61d260ef1 .
2016-12-14 23:17:02 +01:00
Flavio Copes
d61d260ef1
Fix #635 use mv instead of rename as that does not support cross volume operations
2016-12-14 22:40:42 +01:00
Djamil Legato
e73773672b
Removed internal docs reference for Folder::create and Folder::mkdir
2016-11-01 17:07:06 -07:00
Andy Miller
a9eb707d8b
Added fast hash option for file checking. Checks all files and timestamps
2016-10-12 16:52:51 -06:00
Andy Miller
c57e43ea1d
New bin/gpm direct-install command ( #1038 )
...
* initial push of DirectInstall command
* Refactored to support direct-install
* added info about dependencies, and continue question
* Cleanup per @w00fz comments
* put Grav destination check back.
2016-09-18 10:23:55 -06:00
Matias Griese
cf3cd3d2d1
Follow symlinks in Folder::all()
2016-09-09 10:40:16 +03:00
Djamil Legato
c0fcac3393
Fixed Folder::delete method to recursively remove files and folders and causing Upgrade to fail.
2016-07-19 11:16:13 -07:00
Andy Miller
6c042b4804
Unified PHP code header styling
2016-07-11 16:07:14 -06:00
Matias Griese
99bd25f805
Add streams support for Filesystem\Folder class
2016-03-02 20:58:34 +02:00