Commit Graph

103 Commits

Author SHA1 Message Date
Nicholas K. Dionysopoulos a540f72124
Add shebang to cli/joomla.php and make it executable (#40351)
* Add shebang to cli/joomla.php and make it executable

* Update joomla.php
2023-04-11 08:08:07 +02:00
Allon Moritz 1e7527b60e
Fixes various code style issues and integrate PHP CS Fixer into drone (#39745)
* Integrate PHP CS Fixer into drone

* Fix code base

* more verbose

* Ignore psr12 scripts

* Test

* revert

* Ignore also rebase script

* Align array and variable declarations

* Merges

* Fix the no break comment starting with upper case

* Fix alignment in arrays

* Article controller alignment
2023-01-31 11:20:05 +01:00
Harald Leithner e7f5cc182b Phase 1 convert CMS to PSR-12 2022-06-27 20:18:44 +02:00
Phil E. Taylor 73454c1f02
[4] /s/host/command line (#36416) 2021-12-29 01:17:34 +00:00
Nicola Galgano afbb1c2e4d
[4.0][CLI] check install (#31938)
Pull Request for Issue #31899 .
check for install 1st
2021-01-13 19:02:24 +01:00
Phil Taylor ae1a795741
[4] correct single line comment style (#31946)
* correct single line comment style

* convert multiline comment to single line comments

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
2021-01-12 11:00:14 +01:00
Niels Braczek 3a5984d033
[4.0] Converted copyright statement to standard format (#31504) 2020-11-28 01:33:45 +00:00
Phil Taylor 88c20731f6
typo (#31062) 2020-10-11 20:29:43 +02:00
Nicola Galgano 71f48b1cf9
[4.0][CLI] com_finder use console command (#30768) 2020-09-26 13:41:58 +02:00
Phil Taylor 434348c221
[4.0] Move from Factory::getConfig to getting config from application (#29854) 2020-07-25 19:35:07 +01:00
wilsonge d7451e6440
Tag Joomla 4 Beta 1 2020-05-30 20:41:05 +01:00
George Wilson 18a781493a
Add getLanguage to application interface and cleanup console/cli apps (#28506) 2020-03-30 00:23:25 +01:00
Brian Teeman b97f93faaf [4.0] namespace JText (#27364)
Fix some missing namespace changes or JText
2019-12-29 07:53:08 -08:00
Tobias Zulauf 462b587f24 bump php minimum to 7.2.5 (#27191) 2019-12-02 10:11:46 +01:00
George Wilson 6afa70eae7 PHPCS Part 2 2019-11-12 11:56:43 +00:00
George Wilson cb17b8e8fe Fix plugin double function 2019-11-12 11:51:23 +00:00
George Wilson 48cfd3f961 Joomla! 3.9.12 Release
-----BEGIN PGP SIGNATURE-----
 
 iQHIBAABCgAyFiEEc8tLlhrb4aveTfJiRzuTXEnqGwgFAl2I1TIUHGxlaXRobmVy
 QGl0cm9uaWMuYXQACgkQRzuTXEnqGwi4jAv/ZFeY76s43BFzvAnA/G5pJ6DQtklm
 Nw3676D4mrRHOzoNZCA6i/ACoyE1e4mywOFC1dTd9jqUKQA2O7HVsEyM8j5mP+/0
 CAhsKF84mgY14JBzK6pfKQACSEM/+z20eC6OyaAPE2rW8DEGtvWwPj9VlVzIJRQZ
 LhSROnI6YjWYrhrAWC1IgeDQ5zy80KOC7J57Z8drxbuViE6M+eXkDApC7swp0xuI
 hnq+ecHyTOajcgJdtk4yVRh9fatUauWZlXhGG4QCccbvUndovBUKzVHhy6YrPZ/q
 j5r/YQONGpxU9TvtWCwEBfZpopML+Jg/YIbvjEVVaQu8ZXlVUHSOozXelf5eyenN
 1vRXr3NH7oIT+KPc2PXTJOjVmI8P7X3N5y6IynlHiZMp9lvK5XFWrFfKsSi87ehn
 NJuygvjQn3aJ1x5LBvdX36vbjFzrsZKFgDX4795TndSiAHzRwMqmDqXZitzxiKXY
 6o0Sc1fO2J/Fx6tQQfsCJ/vW1s7s2tLrvn8o
 =C0V3
 -----END PGP SIGNATURE-----

Merge tag '3.9.12' into 4.0-dev

Joomla! 3.9.12 Release
2019-11-12 11:11:19 +00:00
George Wilson 23def74519 Merge commit '27f1a72' into 4.0-dev 2019-11-12 10:56:09 +00:00
Harald Leithner 1dbb32db39 Prepare 3.9.12 Release Candidate 2019-09-18 16:08:16 +02:00
Frank Mayer fb2b123f4e Implemented pausing mechanisms into cli/finder_indexer.php. (#13502)
Implemented pausing mechanisms into cli/finder_indexer.php.
The reason for that is, that with thousands of articles or K2 items, the server would often become unresponsive, because of a lot of processing and IO/WAiT on the mysql server.
This patch implements a pausing mechanism that pauses for a defined or dynamically adjusted amount of time between batches, therefore giving the server a little time to catch up.
2019-09-17 18:13:16 +02:00
Brian Teeman 63be43fe0c [4.0] Increase php minimum (#25252) 2019-06-17 15:25:08 +01:00
Brian Teeman 8764df7ecb [4.0] Namespace (#24931) 2019-05-27 02:58:40 +02:00
Lodder ba851f64bd [4.0] Use namespaced version of JFactory everywhere (#24106) 2019-03-15 12:38:57 +00:00
wilsonge 2f74f9ad7a
Tag Joomla 4 Alpha 7 2019-03-09 10:20:38 +00:00
wilsonge 905f923072
Merge commit '2b5d12a' into 4.0-dev 2019-03-03 14:03:20 +00:00
Michael Babker bc84ea1027
Prepare 3.9.2 release candidate 2019-01-11 07:41:07 -06:00
Michael Babker 8e8d8c546a Missed EOLs 2018-11-10 09:49:39 -06:00
Michael Babker ffc8f3be80 Define `JOOMLA_MINIMUM_PHP` for CLI script, check PHP version 2018-11-10 09:48:17 -06:00
Brian Teeman d14bc95776 [4.0] qn codestyle (#21868)
* [4.0] qn codestyle

All new code is being forced to follow the codestyle and not to use $q or $qn

This pr updates all the remaining instances in core

code review

* drone

* drone again

* revert changes in debug.php
2018-08-29 00:10:51 +01:00
Frank Mayer 895a14857d Work on indexer (#12253)
* Merge some unset()

* Lots of work on the indexer itself:

- Type safe comparisons
- a few simplifications
- a few performance optimizations

* Some Elvis's and a missing @since annotation

* One more StringHelper...

* Codestyle...

* Not to potentially break BC, reversed back to `!empty($var)` operation but with the non inverted style `(bool) $var`

* Formatting

* Fix formatting

* Revert this change for now. Look into it later again.

* Codesniffer...

* Removed repeated `use`

* Some extra work according to @andrepereiradasilva's notes

* Additional changes according to reviewer's comments

* Code style

* Fix misbehavior due to not correctly handling the single object case of mixed variable (array|object)

* Pass float value to db->escape as float may produce problems for some locales.

* "Make values float again" - (pun intended)
2018-08-20 22:56:56 -05:00
Michael Babker 07f05846b0 [4.0] Split the configuration of the session service on a per-application basis, restructure session GC command (#19594)
* Split the configuration of the session service on a per-application basis, restructure session GC command

* Make a session factory, move handler creation into it

* Expand comments on session service key aliasing

* Apparently this is our PHPCS style?

* Change to a less than readable variant of the signature because our PHPCS rules suck

* Fix container reference

* PHPCS fixes

* Inject Session class options into factory, validate option presence
2018-08-07 07:40:13 +02:00
Michael Babker 63b2ee1f3a Run a pre-check in app bootup to make sure dependencies are installed (#21287) 2018-07-30 07:39:28 +02:00
Michael Babker 2f0e6e4216 File goes away now 2018-07-17 21:49:18 -05:00
wilsonge c356b679ad
Merge commit 'cd8d650' into 4.0-dev 2018-07-13 16:04:42 +01:00
wilsonge 6197564403
Merge commit 'c8b212151db8c1c7f8f1bdc222f8128dc8641dc2' into 4.0-dev 2018-07-13 15:30:15 +01:00
wilsonge 6e1d6c8a69
Other directories to J4 alpha 3 2018-05-12 15:26:53 +01:00
David Jardin 11daf53234 4.0 Removed hardcoded error reporting levels from CLI scripts (#20027)
* Removed hardcoded maximum error reporting statement

* Also removed statement from finder indexer
2018-03-31 20:19:36 +01:00
Robert Deutz 1da376ed37
Prepare 3.8.6 RC1 Release 2018-02-28 16:33:45 +01:00
Michael Babker c8b212151d The One Right Session Management Configuration For Joomla! 3 (#19687)
* Session garbage collection plugin

* Session metadata manager

* Expand metadata manager to allow all apps, CLI for metadata cleaner

* Move metadata cleanup to the plugin

* Misc fixes from feedback

* Language tweaks

* Change to uint filter, if it'll get people to review and accept the damn PR...
2018-02-26 23:19:45 +01:00
Tuan Pham Ngoc 5bf0e5d688 Implement Session GC Cli (#19548)
* Implement Session GC Cli

* CS add new line
2018-02-14 07:27:58 -08:00
Michael Babker 44a1dca920
Prepare 3.8.4 Release Candidate 2018-01-20 11:11:30 -06:00
Michael Babker fb257ccb4e [4.0] Set up console application (#18141) 2017-11-16 13:58:11 +00:00
wilsonge dd1212b9e6
Merge commit 'f9aa3423e2172194fbe7294c1fb80dc8e79e0a38' into 4.0-dev 2017-09-08 10:03:30 +01:00
Brian Teeman 4a125558b9 Add descriptions to cLI scripts (#17573)
I was looking at the CLI scripts and wasn't sure what these two did as they had no description. Eventually I saw the description lower down the file. To make it easier for others I copied the description to the top (as with the other CLI scripts)
2017-08-16 18:50:25 -05:00
Allon Moritz fdd26445c7 [4.0] Set the cli as global app (#16540) 2017-06-29 08:40:06 +01:00
Allon Moritz 601bd0b1d9 [4.0] Convert the cli scripts (#16516)
* Adapt cli scripts

* Make update script work
2017-06-04 18:31:35 +02:00
Allon Moritz a3d6e2074b [4.0] CMSApplicationInterface (#16499)
Reviewed by George
2017-06-04 12:36:42 +02:00
wilsonge d96f1414b6
Merge branch '3.8-dev' into 4.0-dev 2017-04-01 21:42:31 +01:00
Walt Sorensen b3356e1a0e Remove check as JApplicationCli constructor has a check for this (#15011)
* JApplicationCli constructor has a check for this

* CLI check covered by JApplicationCli constructor
2017-03-31 23:36:04 +01:00
wilsonge 3e3d57f4f1
Merge branch 'staging' into 4.0-dev 2017-01-15 13:52:59 +00:00