Compare commits
38 Commits
Author | SHA1 | Date |
---|---|---|
Tuan Pham Ngoc | bc87751851 | |
Tuan Pham Ngoc | b47cd5a598 | |
Tuan Pham Ngoc | e6a8f3ddb1 | |
Renovate Joomla Bot | 7546a4867c | |
Robert Deutz | a928dd3a87 | |
Richard Fath | 4c9df15e2f | |
Richard Fath | 4f5c286cb3 | |
Hannes Papenberg | 268d3d22e6 | |
Tuan Pham Ngoc | 36492e6133 | |
Tuan Pham Ngoc | fd6cf51539 | |
Tuan Pham Ngoc | e811a10547 | |
Roland Dalmulder | 55200beae1 | |
Tobias Zulauf | 25912ad928 | |
Renovate Joomla Bot | f04e6372a6 | |
Hannes Papenberg | cc49a14b5d | |
Renovate Joomla Bot | ecc9e19305 | |
David Jardin | d8504a9c9f | |
dependabot[bot] | 098aa2f12f | |
Hannes Papenberg | 998e57afb5 | |
Hannes Papenberg | 598942f96e | |
Hannes Papenberg | accf06131c | |
Hannes Papenberg | b9d7f89266 | |
Hannes Papenberg | 766dbaf26c | |
Hannes Papenberg | 4cb294d5f2 | |
Tuan Pham Ngoc | fc2d0f4938 | |
Tobias Zulauf | dd52c09c30 | |
Tuan Pham Ngoc | d48fb44e4f | |
Tuan Pham Ngoc | 680a44f8aa | |
Tuan Pham Ngoc | 68a1d385f5 | |
Tuan Pham Ngoc | 8cf588e57f | |
Tuan Pham Ngoc | 9ec36613e0 | |
Tuan Pham Ngoc | ecd90e0f1b | |
Tuan Pham Ngoc | c58a8e339d | |
Richard Fath | 29ca3c8d52 | |
Richard Fath | d42f2227d7 | |
Hannes Papenberg | ea64e3777c | |
kofaysi | b69a91491f | |
Elijah Madden | afa9df617b |
18
README.md
18
README.md
|
@ -1,10 +1,12 @@
|
|||
# Weblinks for Joomla! Travis:
|
||||
# Weblinks for Joomla!
|
||||
|
||||
Travis: [![Travis Build Status](https://travis-ci.org/joomla-extensions/weblinks.svg?branch=master)](https://travis-ci.org/joomla-extensions/weblinks)
|
||||
Build Status
|
||||
---------------------
|
||||
| Drone-CI |
|
||||
| ------------- |
|
||||
| [![Build Status](https://ci.joomla.org/api/badges/joomla-extensions/weblinks/status.svg)](https://ci.joomla.org/joomla-extensions/weblinks) |
|
||||
|
||||
Drone: [![Drone Build Status](http://213.160.72.75/api/badges/joomla-extensions/weblinks/status.svg)](http://213.160.72.75/joomla-extensions/weblinks)
|
||||
|
||||
This repo is meant to hold the decoupled com_weblinks component and related code.
|
||||
Weblinks for Joomla! provides a component and accompanying extensions to create a directory of weblinks.
|
||||
|
||||
# How to test a PR
|
||||
|
||||
|
@ -221,7 +223,7 @@ skipClone = false
|
|||
cmsPath = tests/joomla-cms3
|
||||
|
||||
; If you want to clone a different branch, you can set it here
|
||||
branch = staging
|
||||
branch = 3.10-dev
|
||||
|
||||
; (Linux / Mac only) If you want to set a different owner for the CMS root folder, you can set it here.
|
||||
localUser =
|
||||
|
@ -258,13 +260,13 @@ The tests in Weblinks Extension use Codeception Testing Framework, if you want t
|
|||
This is not required, and if in doubt you can just skip this section, but there may be some specific use cases when you need (or want) to override the default behaviour of RoboFile.php. To do this, copy `RoboFile.dist.ini` to `RoboFile.ini` and add options in INI format, one per line, e.g.
|
||||
|
||||
skipClone = true
|
||||
cmsPath = tests/joomla-cms3
|
||||
cmsPath = tests/joomla
|
||||
|
||||
The currently available options are as follows:
|
||||
|
||||
* `skipClone`: set to `true` to avoid the cms repo being deleted and re-cloned at each test execution. Useful to save time and bandwidth while you're debugging your test environment. But please be aware that if you don't refresh the repo you'll have to manually check the `installation` folder is present and the `configuration.php` is not.
|
||||
* `cmsPath`: set to the local path (absolute or relative) where you'd like the test website to be installed. Default is `tests/joomla-cms3`.
|
||||
* `branch`: set to whatever existing branch from the `joomla-cms` project if you want to clone that specific branch. Default is `staging`.
|
||||
* `branch`: set to whatever existing branch from the `joomla-cms` project if you want to clone that specific branch. Default is `3.10-dev`.
|
||||
|
||||
## Additional options
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ skipClone = false
|
|||
cmsPath = tests/joomla
|
||||
|
||||
; If you want to clone a different branch, you can set it here
|
||||
branch = staging
|
||||
branch = 3.10-dev
|
||||
|
||||
; (Linux / Mac only) If you want to set a different owner for the CMS root folder, you can set it here.
|
||||
localUser = www-data
|
||||
|
|
|
@ -398,7 +398,7 @@ class RoboFile extends Tasks
|
|||
*/
|
||||
private function buildGitCloneCommand()
|
||||
{
|
||||
$branch = empty($this->configuration->branch) ? 'staging' : $this->configuration->branch;
|
||||
$branch = empty($this->configuration->branch) ? '3.10-dev' : $this->configuration->branch;
|
||||
|
||||
return "git" . $this->executableExtension . " clone -b $branch --single-branch --depth 1 https://github.com/joomla/joomla-cms.git tests/cache";
|
||||
}
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
"php": ">=5.6",
|
||||
"codeception/codeception": "^3",
|
||||
"phpunit/phpunit": "^5.7.27",
|
||||
"joomla-projects/joomla-browser": "v3.9.0",
|
||||
"joomla-projects/joomla-browser": "^3.9",
|
||||
"consolidation/robo": "^1.0.0",
|
||||
"joomla-projects/joomla-testing-robo": "~1.0",
|
||||
"joomla-projects/selenium-server-standalone": "v3.14.0",
|
||||
"joomla-projects/selenium-server-standalone": "^3.14",
|
||||
"fzaninotto/faker": "^1.6",
|
||||
"joomla-projects/jorobo": "~0.7",
|
||||
"behat/gherkin": "^4.4.1"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
extension = weblinks
|
||||
version = 3.9.0-rc1
|
||||
version = 3.9.0
|
||||
source = src
|
||||
target = package
|
||||
|
||||
|
|
44
manifest.xml
44
manifest.xml
|
@ -11,6 +11,48 @@
|
|||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://downloads.joomla.org/extensions/weblinks/3-7-0/pkg-weblinks-3.7.0.zip</downloadurl>
|
||||
</downloads>
|
||||
<targetplatform name="joomla" version="3.[6789]" />
|
||||
<targetplatform name="joomla" version="3.[678]" />
|
||||
</update>
|
||||
<update>
|
||||
<name>Weblinks Extension Package</name>
|
||||
<description>Joomla! CMS Weblinks Package</description>
|
||||
<element>pkg_weblinks</element>
|
||||
<type>package</type>
|
||||
<version>3.9.0</version>
|
||||
<client>site</client>
|
||||
<infourl title="Weblinks Extension Package">https://github.com/joomla-extensions/weblinks/releases/tag/3.9.0</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://downloads.joomla.org/extensions/weblinks/3-9-0/pkg-weblinks-3.9.0.zip</downloadurl>
|
||||
</downloads>
|
||||
<sha512>99baa8a622da239b2a0b84414836c494e68b5ff2d1eba2030fccc9d929645a45f7a2459ce2261846a10922f4b77bc6e0f26d34adc1afffb62e51fe45e8f44b53</sha512>
|
||||
<targetplatform name="joomla" version="((3\.(9|10))|(4\.[01234]))" />
|
||||
</update>
|
||||
<update>
|
||||
<name>Weblinks Extension Package</name>
|
||||
<description>Joomla! CMS Weblinks Package</description>
|
||||
<element>pkg_weblinks</element>
|
||||
<type>package</type>
|
||||
<version>4.0.1</version>
|
||||
<client>site</client>
|
||||
<infourl title="Weblinks Extension Package">https://github.com/joomla-extensions/weblinks/releases/tag/4.0.1</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://downloads.joomla.org/extensions/weblinks/4-0-1/pkg-weblinks-4.0.1.zip</downloadurl>
|
||||
</downloads>
|
||||
<sha512>8e6ac146d9bf907971a25728f4ed6cfad900ab51d1bf33a157f11b42bfcb8b7dfbc6c21c9eeebfe2cf572220db33f73fa29807f3d350220ed4e73b09866dcdad</sha512>
|
||||
<targetplatform name="joomla" version="((4\.[01234])|(5\.0))" />
|
||||
</update>
|
||||
<update>
|
||||
<name>Weblinks Extension Package</name>
|
||||
<description>Joomla! CMS Weblinks Package</description>
|
||||
<element>pkg_weblinks</element>
|
||||
<type>package</type>
|
||||
<version>4.3.1</version>
|
||||
<client>site</client>
|
||||
<infourl title="Weblinks Extension Package">https://github.com/joomla-extensions/weblinks/releases/tag/4.3.1</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://downloads.joomla.org/extensions/weblinks/4-3-1/pkg-weblinks-4.3.1.zip</downloadurl>
|
||||
</downloads>
|
||||
<sha512>cbc02c3a4d915b2a4b69d5b425cb22b93c2dadd72829e1dac8f3cd55c2deb4ab4cb244ca75a956dd335c861daa2a17a769390e7cab90988501c16417afefb72f</sha512>
|
||||
<targetplatform name="joomla" version="((4\.[34])|(5\.[01234]))" />
|
||||
</update>
|
||||
</updates>
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:base",
|
||||
":preserveSemverRanges",
|
||||
":disableMajorUpdates"
|
||||
],
|
||||
"versioning": "semver",
|
||||
"dependencyDashboard": true,
|
||||
"lockFileMaintenance": { "enabled": true },
|
||||
"composerIgnorePlatformReqs": ["ext-*", "lib-*"],
|
||||
"rangeStrategy": "update-lockfile",
|
||||
"baseBranches": ["master", "4.0-dev"],
|
||||
"constraints": {
|
||||
"composer": "> 2.3",
|
||||
"npm": "> 8.0"
|
||||
}
|
||||
}
|
|
@ -124,7 +124,7 @@ if ($saveOrder)
|
|||
<?php endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="nowrap has-context">
|
||||
<td class="has-context">
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'weblinks.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -83,7 +83,7 @@ class ModWeblinksHelper
|
|||
|
||||
$model->setState(
|
||||
'list.select',
|
||||
'a.*, c.description AS c_description, c.published AS c_published,' . $case_when1 . ',' . $case_when2 . ',' . 'DATE_FORMAT(a.created, "%Y-%m-%d") AS created'
|
||||
'a.*, c.description AS c_description, c.published AS c_published,' . $case_when1 . ',' . $case_when2
|
||||
);
|
||||
|
||||
$model->setState('filter.c.published', 1);
|
||||
|
|
Loading…
Reference in New Issue