Skip to content

Commit

Permalink
Merge pull request #37 from richard67/4.0-dev-hannes-j4install-mod-1
Browse files Browse the repository at this point in the history
Merge upstream/4.0-dev into origin/j4install
  • Loading branch information
Hackwar authored Mar 26, 2020
2 parents dca5098 + d43cc7f commit 70dd0f4
Show file tree
Hide file tree
Showing 842 changed files with 4,962 additions and 7,333 deletions.
28 changes: 27 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,32 @@ steps:
status:
- failure

- name: packager
image: joomlaprojects/docker-images:packager
environment:
FTP_USERNAME:
from_secret: ftpusername
FTP_PASSWORD:
from_secret: ftppassword
FTP_HOSTNAME: ci.joomla.org
FTP_PORT: "21"
FTP_DEST_DIR: /artifacts
FTP_VERIFY: "false"
FTP_SECURE: "true"
HTTP_ROOT: "https://ci.joomla.org:444/artifacts"
DRONE_PULL_REQUEST: DRONE_PULL_REQUEST
DRONE_COMMIT: DRONE_COMMIT
GITHUB_TOKEN:
from_secret: github_token
commands:
- /bin/drone_build.sh
volumes:
- name: reference
path: /reference
when:
branch:
- 4.0-dev

- name: analysis4x
image: rips/rips-cli:3.2.2
depends_on: [ api-tests ]
Expand Down Expand Up @@ -308,6 +334,6 @@ services:

---
kind: signature
hmac: 7649a6f9d7d15da3d8723dd7cf2d8328edc5040fb53308e10c6f07b901f87b22
hmac: f48ed8ebb03e09c20cc11438603de357c797c739962ce199cd49e929ff6886e2

...
32 changes: 17 additions & 15 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# A list of files to ignore from linting
*.js
!*.es6.js
administrator/components/com_media/node_modules/uri-js/node_modules/punycode/punycode.es6.js
media
*.vue
# TODO: Fix the webcomponents codestyle then also allow linting on them
joomla-editor-codemirror.w-c.es6.js
joomla-field-fancy-select.w-c.es6.js
joomla-field-module-order.w-c.es6.js
joomla-field-permissions.w-c.es6.js
joomla-field-send-test-mail.w-c.es6.js
joomla-field-simple-color.w-c.es6.js
joomla-field-subform.w-c.es6.js
# End of TODO
# A list of files to ignore from linting
*.js
!*.es6.js
administrator/components/com_media/node_modules/uri-js/node_modules/punycode/punycode.es6.js
media
*.vue
# Don't validate temporary build files
build/tmp
# TODO: Fix the webcomponents codestyle then also allow linting on them
joomla-editor-codemirror.w-c.es6.js
joomla-field-fancy-select.w-c.es6.js
joomla-field-module-order.w-c.es6.js
joomla-field-permissions.w-c.es6.js
joomla-field-send-test-mail.w-c.es6.js
joomla-field-simple-color.w-c.es6.js
joomla-field-subform.w-c.es6.js
# End of TODO
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ composer.phar
/.phpunit.result.cache
/tests/Codeception/acceptance.suite.yml
/tests/Codeception/_output/
/tests/Codeception/api.suite.yml


# Vendor directory handeling
/libraries/vendor
Expand Down
2 changes: 1 addition & 1 deletion .hound.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ scss-lint:
version: 0.59.0

eslint:
version: 5.16.0
version: 6.8.0
enabled: true
config_file: .eslintrc
ignore_file: .eslintignore
Expand Down
26 changes: 26 additions & 0 deletions administrator/components/com_actionlogs/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,31 @@
multiple="true"
default="com_banners,com_cache,com_categories,com_checkin,com_config,com_contact,com_content,com_installer,com_media,com_menus,com_messages,com_modules,com_newsfeeds,com_plugins,com_redirect,com_tags,com_templates,com_users"
/>
<field
name="loggable_api"
type="radio"
label="COM_ACTIONLOGS_API_LOGGING_LABEL"
layout="joomla.form.field.radio.switcher"
default="0"
filter="integer"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field
name="loggable_verbs"
type="list"
label="COM_ACTIONLOGS_LOG_VERBS_LABEL"
multiple="true"
showon="loggable_api:1"
default="GET"
validate="options"
>
<option value="GET">COM_ACTIONLOGS_FIELD_VALUE_GET</option>
<option value="POST">COM_ACTIONLOGS_FIELD_VALUE_POST</option>
<option value="DELETE">COM_ACTIONLOGS_FIELD_VALUE_DELETE</option>
<option value="PUT">COM_ACTIONLOGS_FIELD_VALUE_PUT</option>
<option value="PATCH">COM_ACTIONLOGS_FIELD_VALUE_PATCH</option>
</field>
</fieldset>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Controller;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use DateTimeZone;
use Exception;
Expand Down Expand Up @@ -40,7 +40,7 @@ class ActionlogsController extends AdminController
* Recognized key values include 'name', 'default_task', 'model_path', and
* 'view_path' (this list is not meant to be comprehensive).
* @param MVCFactoryInterface $factory The factory.
* @param CmsApplication $app The JApplication for the dispatcher
* @param CMSApplication $app The JApplication for the dispatcher
* @param Input $input Input
*
* @since 3.9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Controller;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\MVC\Controller\BaseController;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Field;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\Field\ListField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Field;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\Field\ListField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Field;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\Field\PredefinedlistField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Field;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Factory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Helper;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Generator;
use Joomla\CMS\Date\Date;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Model;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Factory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Model;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use DateTimeZone;
use Exception;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\Plugin;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\CMSPlugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Joomla\Component\Actionlogs\Administrator\View\Actionlogs;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

use Exception;
use Joomla\CMS\Component\ComponentHelper;
Expand Down
Loading

0 comments on commit 70dd0f4

Please sign in to comment.