-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5] add2scheduler-sessiongc #41326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[5] add2scheduler-sessiongc #41326
Changes from 50 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
1892da2
add2scheduler-sessiongc
alikon d6ba125
cs
alikon 649f3fc
cs
alikon d45978d
Update plugins/task/sessiongc/src/Extension/SessionGC.php
alikon e283035
Update plugins/task/sessiongc/services/provider.php
alikon bef59d3
Update installation/sql/mysql/base.sql
alikon 466feb9
Update installation/sql/postgresql/base.sql
alikon bb83935
Update libraries/src/Extension/ExtensionHelper.php
alikon ad4ea6f
Update administrator/language/en-GB/plg_task_sessiongc.sys.ini
alikon 251ee3b
Update administrator/language/en-GB/plg_task_sessiongc.ini
alikon 8ade8f8
Update administrator/components/com_admin/script.php
alikon 615cb05
feedback
alikon 8cb3d53
pgsql
alikon 0362e73
Merge branch '5.0-dev' into add2scheduler-sessiogc
alikon dfd5abf
cs
alikon 3d87e26
cs
alikon cc2c701
Update administrator/components/com_admin/script.php
alikon 85e5411
norm
alikon 4071d03
Merge branch '5.0-dev' into add2scheduler-sessiogc
alikon 84f3d4e
cs
alikon 3d159cd
Merge branch '5.0-dev' into add2scheduler-sessiogc
alikon e84685e
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 96ad6d5
Merge branch '5.0-dev' into add2scheduler-sessiogc
alikon f386f23
Rename 5.0.0-2023-08-08.sql to 5.0.0-2023-08-26.sql
alikon c59f3ba
Rename 5.0.0-2023-08-08.sql to 5.0.0-2023-08-26.sql
alikon f0dcda8
delete old lang files
heelc29 6d8f175
xml cs
heelc29 ad593e2
add return type
heelc29 4e4ba16
Rename 5.0.0-2023-08-26.sql to 5.0.0-2023-08-28.sql
richard67 cc22a2a
Rename 5.0.0-2023-08-26.sql to 5.0.0-2023-08-28.sql
richard67 a4b371e
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 5d29c6d
Merge pull request #31 from heelc29/5.0/sessiongc-41326
alikon 2b74661
Merge branch '5.0-dev' into add2scheduler-sessiogc
alikon 8e76476
Rename 5.0.0-2023-08-28.sql to 5.0.0-2023-08-30.sql
richard67 90c537b
Rename 5.0.0-2023-08-28.sql to 5.0.0-2023-08-30.sql
richard67 60590ec
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 e0d680f
SQL CS
richard67 3261b02
SQL CS
richard67 a3e59a7
Single quotes
richard67 032298a
Set last and next execution and locked of task on new installation
richard67 0d2f403
Fix place for insert statement and setval
richard67 6424413
Task should be enabled on a new installation
richard67 d9edfbc
Make sure to have UTC timestamps on PostgreSQL
richard67 bffe540
Rename 5.0.0-2023-08-30.sql to 5.0.0-2023-09-02.sql
richard67 80cb800
Rename 5.0.0-2023-08-30.sql to 5.0.0-2023-09-02.sql
richard67 a298504
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 83beb44
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 bfabda6
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 9c74652
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 54fab94
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 b68922e
Fix exec time
richard67 0834ea2
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 6aaa331
Add parameters to SQL insert of task
richard67 977845d
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 0f7d80c
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 efcb083
Fix wrong asset name from previous conflicts
richard67 28e56d3
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 ffe4883
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 0fc2d1e
Merge branch '5.0-dev' into add2scheduler-sessiogc
richard67 4409b85
Merge branch '5.0-dev' into add2scheduler-sessiogc
HLeithner 431028e
Update plugins/task/sessiongc/src/Extension/SessionGC.php
HLeithner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/updates/mysql/5.0.0-2023-09-02.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| INSERT INTO `#__extensions` (`name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `locked`, `manifest_cache`, `params`, `custom_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES | ||
| ('plg_task_sessiongc', 'plugin', 'sessiongc', 'task', 0, 1, 1, 0, 1, '', '{}', '', NULL, NULL, 0, 0); |
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/updates/postgresql/5.0.0-2023-09-02.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| INSERT INTO "#__extensions" ("name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "locked", "manifest_cache", "params", "custom_data", "checked_out", "checked_out_time", "ordering", "state") VALUES | ||
| ('plg_task_sessiongc', 'plugin', 'sessiongc', 'task', 0, 1, 1, 0, 1, '', '{}', '', NULL, NULL, 0, 0); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| ; Joomla! Project | ||
| ; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> | ||
| ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
| ; Note : All ini files need to be saved as UTF-8 | ||
|
|
||
| PLG_TASK_SESSIONGC="Task - Session Data Purge" | ||
| PLG_TASK_SESSIONGC_ENABLE_SESSION_GC_DESC="When enabled, this plugin will attempt to purge expired data based on the frequency calculated by the probability and divisor." | ||
| PLG_TASK_SESSIONGC_ENABLE_SESSION_GC_LABEL="Enable Session Data Cleanup" | ||
| PLG_TASK_SESSIONGC_ENABLE_SESSION_METADATA_GC_DESC="When enabled, this plugin will clean optional session metadata from the database. Note that this operation will not run when the database handler is in use as that data is cleared as part of the Session Data Cleanup operation." | ||
| PLG_TASK_SESSIONGC_ENABLE_SESSION_METADATA_GC_LABEL="Enable Session Metadata Cleanup" | ||
| PLG_TASK_SESSIONGC_GC_DIVISOR_DESC="In combination with the probability field, these two fields are used to determine the frequency of the session data cleanup operation being triggered on a request. The probability is calculated by using probability/divisor, eg 1/100 means there is a 1% chance that the process runs on each request." | ||
| PLG_TASK_SESSIONGC_GC_DIVISOR_LABEL="Divisor" | ||
| PLG_TASK_SESSIONGC_GC_PROBABILITY_DESC="In combination with the divisor field, these two fields are used to determine the frequency of the session data cleanup operation being triggered on a request." | ||
| PLG_TASK_SESSIONGC_GC_PROBABILITY_LABEL="Probability" | ||
| PLG_TASK_SESSIONGC_XML_DESCRIPTION="Task Plugin that purges expired data and metadata depending on the session handler set in Global Configuration." | ||
| PLG_TASK_SESSIONGC_TITLE="Task - Session Data Purge" | ||
| PLG_TASK_SESSIONGC_DESC="Task Plugin that purges expired data and metadata depending on the session handler set in Global Configuration." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ; Joomla! Project | ||
| ; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org> | ||
| ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
| ; Note : All ini files need to be saved as UTF-8 | ||
|
|
||
| PLG_TASK_SESSIONGC="Task - Session Data Purge" | ||
| PLG_TASK_SESSIONGC_XML_DESCRIPTION="Task Plugin that purges expired data and metadata depending on the session handler set in Global Configuration." | ||
| PLG_TASK_SESSIONGC_TITLE="Task - Session Data Purge" | ||
| PLG_TASK_SESSIONGC_DESC="Task Plugin that purges expired data and metadata depending on the session handler set in Global Configuration." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.