Matias Griese
6bc73a32c1
Fixed some issues found by phpstan, remove deprecated method calls (User)
2019-03-20 12:52:16 +02:00
Matias Griese
5b55c67ba2
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
...
# Conflicts:
# CHANGELOG.md
# classes/gpm.php
2019-02-05 13:32:54 +02:00
Matias Griese
919003a682
Some installer fixes (clear cache, direct install with full package)
2019-02-05 13:24:00 +02:00
Matias Griese
d6d1b97971
Improved Grav Core installer (part 2)
2019-02-05 12:33:39 +02:00
Matias Griese
8794bff1c4
Improved Grav Core installer
2019-02-05 12:33:31 +02:00
Matias Griese
206b82fb52
Improved Grav Core installer (part 2)
2019-02-04 22:36:11 +02:00
Matias Griese
504e136d60
Improved Grav Core installer
2019-02-04 22:35:06 +02:00
Matias Griese
ba74bf33ad
Code cleanup
2018-12-05 08:20:38 +02:00
Matias Griese
b7da3e98ac
Code cleanup
2018-05-10 11:09:13 +03:00
Andy Miller
2283e15774
Support minimum PHP version in resource upgrades
2018-02-18 14:13:09 -07:00
Agustin Villalba
302b144284
Added code to use GPM inline with grav PR #1746 ( #1267 )
...
* Added code to use GPM inline with grav PR #1746
* Checks if new method GPM::loadRemoteGrav exists to allow BC
2017-11-27 21:14:31 -07:00
Andy Miller
eede9af03c
Added vendor to ignores
2017-04-24 18:03:40 -06:00
Andy Miller
5761175fe1
Added [tmp,user] ignores for direct install of Grav
2017-04-24 15:04:47 -06:00
Frédéric Potvin
1716016f2f
Clean temporary package folders on error ( #1047 )
...
As requested by @rhukster at https://git.io/vSlWG
2017-04-02 18:46:19 -06:00
Andy Miller
5e4a829625
Make filenames more windows-friendly to avoid issues
2017-03-20 13:32:03 -06:00
Flavio Copes
47beb2d5a6
Auto lint
2017-02-26 19:36:01 +01:00
Flavio Copes
c7256134ba
[WORK IN PROGRESS] First draft of a Tools menu with direct install ( #990 )
...
* First draft of a Tools menu with direct install
* Basic styling
* Translate GPM messages
* Basic frontend validation
* Fix form action path
* Added lang strings for offical_gpm_only toggle
2017-02-22 13:34:21 -07:00
Andy Miller
d832a523c6
Add gpm::directInstall method ( #986 )
2017-02-21 16:23:09 +01:00
Djamil Legato
81b7dd10c7
Cleanup
2017-01-20 13:55:03 -08:00
Djamil Legato
39ef71f5d2
Fixed issue with downloaded package when installing a testing release
2017-01-19 12:56:58 -08:00
Flavio Copes
a8d8b048bd
Fix updating/installing packages from admin
2016-11-24 15:13:47 +01:00
Djamil Legato
02eeca78e8
Support for Premium Resources ( #809 )
...
* Initial premium preparation for licenses and gpm handling
* Premium styling
* Removed unused import
* Synced CSS
* Updated selectize
2016-10-13 10:13:18 -07:00
Andy Miller
8a02b72307
Fallback for missing tmp:// stream and unified method
2016-09-07 22:00:57 -06:00
Djamil Legato
86c9d33b64
Fixed tmp find resource
2016-08-25 12:44:33 -07:00
Djamil Legato
19799ce2db
Updated Selfupgrade and Install tasks to use tmp:// for storing the downloaded packages
2016-08-23 16:35:41 -07:00
Djamil Legato
e234acb581
Fixed issue in selfupgrade where the package would get downloaded in the wrong destination
2016-07-19 11:23:59 -07:00
Flavio Copes
1c19190929
Lint
2016-07-07 18:55:52 +02:00
Flavio Copes
115e0c1e91
Use locator instead of CACHE_DIR
2016-04-25 10:18:29 +02:00
Flavio Copes
18b4dc9358
Drop testing code
2016-04-20 18:57:13 +02:00
Flavio Copes
85922f93ac
Handle gpm events in Admin ( #508 )
...
* Fix removing packages
* npm install "babel-preset-es2015": "^6.6.0"
* Run gulp
* Handle messages in packages install/remove/update procedures
2016-04-20 18:55:58 +02:00
Flavio Copes
4e2be47479
Lint gpm
2016-03-01 19:50:12 +01:00
Andy Miller
f950183a39
typo in use
2016-02-04 15:42:43 -07:00
Flavio Copes
0d9a3e4bdc
GravTrait changes in Admin
2016-02-04 20:59:11 +01:00
Matias Griese
0424975657
Improve type hints
2016-01-21 09:46:38 +02:00
Flavio Copes
53bbbf9fc2
Docblocks / coding style improvement
2016-01-10 17:39:57 +01:00
Djamil Legato
cb64ded1b4
Also return the path with the new extension appended
2016-01-06 11:56:16 -08:00
Djamil Legato
3c72bcad27
Ensure the downloaded package has ZIP extension, just in case.
2016-01-06 10:55:31 -08:00
Flavio Copes
db0227320a
Check method exists prior to calling meetsRequirements
...
As Grav might not yet have been updated
2015-12-19 20:21:13 +01:00
Djamil Legato
fbe778dbae
Prevent upgrade of Grav if PHP min requirement is not met. Gracefully fail with additional information
2015-12-18 13:42:57 -08:00
Andy Miller
36e741bc7a
Pass theme flag into Installer::install() so it knows to use copyInstall()
2015-09-15 16:07:05 -06:00
Djamil Legato
d98644277c
Added isSymlink logic to determine if Grav is symbolically linked or not.
2015-08-07 13:31:15 -07:00
Flavio Copes
66764b2255
Show error message if Grav is symlinked, and stop the upgrade process
2015-08-06 16:35:45 +02:00
Flavio Copes
01c73d1451
Update Grav when pressing the "Update Grav Now" button
2015-08-06 09:34:55 +02:00
Gert
cb77f0f848
gpm functionality in admin
2015-04-13 21:37:12 +02:00