Skip to content

Commit 49a7ca9

Browse files
committed
Merge branch 'feature-module-workflow' of https://github.com/YatharthVyas/joomla-cms into myrepo-feature-module-workflow
2 parents 8dd00e7 + a2aab9c commit 49a7ca9

File tree

764 files changed

+9994
-20963
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

764 files changed

+9994
-20963
lines changed

.drone.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ steps:
183183

184184
- name: analysis4x
185185
image: rips/rips-cli:3.2.2
186+
failure: ignore
186187
depends_on: [ api-tests ]
187188
when:
188189
repo:
@@ -269,6 +270,6 @@ steps:
269270

270271
---
271272
kind: signature
272-
hmac: 53e23beca546bde246f812a726320210f33d231106cb154a65cc900ecbf7502e
273+
hmac: d9dd36c1bf3ac28d03a3a2e7593357ed2f5dd87a098be4115fb4c844b9304eab
273274

274275
...

.github/CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ You are welcome to submit a contribution for review and possible inclusion in th
66

77
2) Follow the [Joomla! Coding Standards](https://developer.joomla.org/coding-standards.html).
88

9-
3) When filing an issue or opening a PR, please include a clear title and description. The title should be a short summary of an issue and, if possible, should include a reference to an open issue. For example, `Invalid Query in com_admin (Ref #1234)` would be sufficient. All issues and PRs should include a description with as much detail as possible.
9+
3) When filing an issue or opening a PR, please include a clear title and description. The title should be a short summary of an issue and, if possible, should include a reference to an open issue. For example, `Invalid Query in com_admin (Ref #1234)` would be sufficient. All issues and PRs should include a description with as much detail as possible.
1010
If it is a PR, include what the issue is, what the PR is addressing, testing instructions and environmental information (PHP version, database driver and version, and other data you can retrieve from your site's system information view) in case the issue is specific to certain environments. If additional information is needed, please be prepared to provide it as our community members review your submission.
1111

1212
4) Report security issues to the Joomla! Security Strike Team (JSST) at [email protected] or use the [JSST contact form](https://developer.joomla.org/contact-security-team.html). Please do not use the public tracker for security issues.
1313

1414
Please be patient as not all items will be tested immediately (remember, all bug testing for the Joomla! CMS is done by volunteers) and be receptive to feedback about your code.
1515

1616
#### Branches
17-
PRs should usually be made to the `staging` branch as this contains the most recent version of the code.
17+
PRs should usually be made to the `4.0-dev` branch as this contains the most recent version of the code.
1818
There are other branches available which serve specific purposes.
1919

2020
| Branch | Purpose |
2121
| ------ | ------- |
22-
| staging | Current codebase. Branch for the next minor Joomla version. New backward compatible features go into this branch. The 3.9.0 release will include the Privacy Tools Suite features. |
23-
| 3.10-dev | Branch for the next minor Joomla version. The 3.10.0 release will only include compatibility features for 4.0. Commits to staging will be applied to this branch as well. |
24-
| 4.0-dev | Branch for the next major Joomla version. New features go into this branch. Commits to staging will be applied to this branch as well. |
22+
| 3.10-dev | Branch for the Joomla 3.x series. The 3.10 series release will only include compatibility features for 4.x as well as bugfixes and security patches. |
23+
| 4.0-dev | Branch for the Joomla 4.0 series. Commits to 3.10-dev will be applied to this branch as well. |
24+
| 4.1-dev | Branch for the next minor Joomla version. New features go into this branch. Commits to 4.0-dev will be applied to this branch as well. |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ Joomla is not installable out of the box from this repository, please use:
2828

2929
How to get a working installation from the source
3030
---------------------
31-
For detailed instructions please visit https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment
31+
For detailed instructions please visit https://docs.joomla.org/Special:MyLanguage/J4.x:Setting_Up_Your_Local_Environment
3232

3333
You will need:
34-
- PHP - basically the same as you need for running a Joomla Site, but you need the cli (command line interface) Version (see https://docs.joomla.org/Configuring_a_LAMPP_server_for_PHP_development)
34+
- PHP - basically the same as you need for running a Joomla Site, but you need the cli (command line interface) Version (see https://docs.joomla.org/Special:MyLanguage/Configuring_a_LAMPP_server_for_PHP_development)
3535
- Composer - for managing Joomla's PHP Dependencies. For help installing composer please read the documentation at https://getcomposer.org/doc/00-intro.md
3636
- Node.js - for compiling Joomla's Javascript and SASS files. For help installing Node.js please follow the instructions available on https://nodejs.org/en/
37-
- Git - for version management. Download from here https://git-scm.com/downloads (MacOS users can also use Brew and Linux users can use the built-in package manager, eg apt, yum, etc).
37+
- Git - for version management. Download from here https://git-scm.com/downloads (MacOS users can also use Brew and Linux users can use the built-in package manager, eg apt, yum, etc).
3838

3939
**Steps to setup the local environment:**
4040
- Clone the repository:

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Joomla! CMS™
1818
* Try out our free hosting service: https://launch.joomla.org
1919

2020
4- How to find a Joomla! translation?
21-
* Repository of accredited language packs: https://community.joomla.org/translations.html
21+
* Repository of accredited language packs: https://downloads.joomla.org/language-packs
2222
* You can also add languages directly to your website via your Joomla! administration panel: https://docs.joomla.org/Special:MyLanguage/J4.x:Setup_a_Multilingual_Site/Installing_New_Language
2323
* Learn how to setup a Multilingual Joomla! Site: https://docs.joomla.org/Special:MyLanguage/J4.x:Setup_a_Multilingual_Site
2424

administrator/components/com_actionlogs/config.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,16 @@
5656
<option value="PUT">COM_ACTIONLOGS_FIELD_VALUE_PUT</option>
5757
<option value="PATCH">COM_ACTIONLOGS_FIELD_VALUE_PATCH</option>
5858
</field>
59+
<field
60+
name="date_relative"
61+
type="radio"
62+
label="COM_ACTIONLOGS_DATE_RELATIVE_LABEL"
63+
layout="joomla.form.field.radio.switcher"
64+
default="1"
65+
filter="integer"
66+
>
67+
<option value="0">JHIDE</option>
68+
<option value="1">JSHOW</option>
69+
</field>
5970
</fieldset>
6071
</config>

administrator/components/com_actionlogs/src/View/Actionlogs/HtmlView.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ class HtmlView extends BaseHtmlView
7878
*/
7979
protected $showIpColumn = false;
8080

81+
/**
82+
* Setting if the date should be displayed relative to the current date.
83+
*
84+
* @var boolean
85+
* @since __DEPLOY_VERSION__
86+
*/
87+
protected $dateRelative = false;
88+
8189
/**
8290
* Method to display the view.
8391
*
@@ -100,6 +108,7 @@ public function display($tpl = null)
100108
$this->activeFilters = $model->getActiveFilters();
101109
$params = ComponentHelper::getParams('com_actionlogs');
102110
$this->showIpColumn = (bool) $params->get('ip_logging', 0);
111+
$this->dateRelative = (bool) $params->get('date_relative', 1);
103112

104113
if (count($errors = $model->getErrors()))
105114
{

administrator/components/com_actionlogs/tmpl/actionlogs/default.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,14 @@
8888
<?php echo $this->escape(Text::_($extension)); ?>
8989
</td>
9090
<td class="d-none d-md-table-cell">
91-
<?php echo HTMLHelper::_('date.relative', $item->log_date); ?>
92-
<div class="small">
91+
<?php if ($this->dateRelative) : ?>
92+
<?php echo HTMLHelper::_('date.relative', $item->log_date); ?>
93+
<div class="small">
94+
<?php endif; ?>
9395
<?php echo HTMLHelper::_('date', $item->log_date, Text::_('DATE_FORMAT_LC6')); ?>
94-
</div>
96+
<?php if ($this->dateRelative) : ?>
97+
</div>
98+
<?php endif; ?>
9599
</td>
96100
<td class="d-md-table-cell">
97101
<?php echo $this->escape($item->name); ?>

0 commit comments

Comments
 (0)