Commit Graph

214 Commits

Author SHA1 Message Date
chrisdavenport c0d7a9407f Use substitution codes in XML file 2017-01-02 01:23:02 +00:00
chrisdavenport 6caa06509b Set version number 2017-01-01 22:36:14 +00:00
chrisdavenport 0e5dc69bc1 Use JRoute instead 2016-12-31 22:15:43 +00:00
andrepereiradasilva bf25b8e764 cs just remove extra line (#289) 2016-12-31 19:51:24 +00:00
chrisdavenport b7a90bad2c Add link as separate entry in array 2016-12-29 23:48:23 +00:00
chrisdavenport 896efa4a6a Remove link from language file 2016-12-29 00:34:45 +00:00
chrisdavenport 5bbbf6904d Move weblinks stats to weblinks repo 2016-12-28 16:50:29 +00:00
Chris Davenport 1431b671d5 Merge language string changes from CMS (#285)
* Fix for failing code style tests

* Changed spacing again and ran the script this time

* Merge language string changes from CMS
2016-12-06 21:39:28 +01:00
Twincarb ba775ea531 Remove an extra ) (#284)
I have a site which provided me with an error 500 code. On looking in the server logs it pointed to an extra ) on row 33 which is now on row 34 in the staging version.

Testing:
Code Review 
Check it still shows correctly.
2016-12-04 14:39:38 +00:00
Chris Davenport bb4b0bfb46 Fix for failing code style tests (#283)
* Fix for failing code style tests

* Changed spacing again and ran the script this time
2016-12-01 08:21:47 +01:00
chrisdavenport 3cf373b43c Release 3.6.0-beta 2016-11-28 22:13:39 +00:00
Nicola Galgano 143fef691b Create Categories on-the-fly on Link edit form (#252)
* Create Categories on-the-fly on Weblink edit form

Create Categories on-the-fly on Weblink edit form (1/3)

* Create Categories on-the-fly on Weblink edit form 

Create Categories on-the-fly on Weblink edit form (2/3)

* Create Categories on-the-fly on Weblink edit form 

Create Categories on-the-fly on Weblink edit form (3/3

* CS fix

CS fix

* Update weblink.xml

* Update weblink.php

* Update weblink.php

* one space

one space as suggested
2016-10-21 00:31:25 +01:00
Niels Nübel ede97061b7 fix Typo (#270) 2016-10-15 15:45:10 +02:00
zero-24 f158889d94 Component delivers 303 status code instead of 301 (#272) 2016-10-15 15:44:28 +02:00
Robert Deutz 97d3c26513 Merge pull request #228 from chrisdavenport/showon-groupby
Add showon behaviour to group by subcategory config fields.
2016-08-15 08:14:59 +02:00
andrepereiradasilva cfd842f5e4 missing comma 2016-08-07 09:22:04 +01:00
andrepereiradasilva 0af9354e1e correct variable 2016-08-07 08:24:33 +01:00
andrepereiradasilva 70012793dc fix conflicts final 2016-08-07 02:17:04 +01:00
andrepereiradasilva ed336b0466 Merge remote-tracking branch 'refs/remotes/joomla-extensions/master' into acl-edit-own 2016-08-07 02:16:42 +01:00
andrepereiradasilva 50f6900439 fix conflicts 1 2016-08-07 02:16:40 +01:00
andrepereiradasilva 2b3ec8fdb3 correct core.edit.own 2016-08-07 02:08:21 +01:00
zero-24 8416e19d63 CodeStyle in doc comments
```
FILE: ...oomla-extensions/weblinks/src/components/com_weblinks/helpers/route.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
 183 | ERROR | Missing comment for param "$needles" at position 1
--------------------------------------------------------------------------------
UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY
--------------------------------------------------------------------------------
```

hopfully the last on to go with: https://github.com/joomla-extensions/weblinks/pull/227
2016-08-02 14:33:26 +02:00
zero-24 4332a3d7b4 CodeStyle again 2016-08-01 19:47:09 +02:00
andrepereiradasilva afa26265d8 use JLoader (#247) 2016-07-28 21:17:26 +01:00
Yves Hoppe 00ddf5b2e6 Changing collation to utf8mb4 (#226)
* Changing collation to utf8mb4

* Increased Joomla version requirement
2016-07-27 20:37:46 +01:00
RolandD 93f8892458 Merge pull request #242 from wderuijter/patch-1
Get the correct target param from the item
2016-07-26 07:46:11 +02:00
Wim de Ruijter 5a8135fc3c Changed it at both locations 2016-07-18 21:30:17 +02:00
zero-24 353300bc2f Fix CS for com_weblinks frontend models (#229)
* Update category.php

* Update weblink.php

* Update form.php

* Update categories.php

* Update category.php

* Update categories.php
2016-07-08 19:55:07 +01:00
Wim de Ruijter 3fc4d984d1 Get the correct target param from the item
Get the correct target param from the item instead of the component target param
2016-07-08 08:08:25 +02:00
Nicola Galgano 1680ec7b49 Allow captcha when submit a webllink (#223)
* allow captcha  on submit web link

allow captcha  on submit web link (1/5)

* allow captcha  on submit web link

allow captcha  on submit web link (2/5)

* allow captcha  on submit web link

allow captcha  on submit web link (3/5)

* allow captcha  on submit web link

allow captcha  on submit web link (4/5)

* allow captcha  on submit web link

allow captcha  on submit web link (5/5)

* CS fix

CS fix

* XML CS for https://github.com/joomla-extensions/weblinks/pull/223

Simple XML CS https://github.com/joomla-extensions/weblinks/pull/223

* update captcha message

update captcha message like com_user, com_contatct #10931

* handle session data

handle session data 1(/2)

* handle session data

handle session data (2/2)

* move buttons down

move buttons down

* fix conflicts with #231

fix conflicts with #231

* fix conflicts with #231 

fix conflicts with #231
2016-07-04 22:32:27 +01:00
zero-24 77d2b1fbf9 View and router frontend CS (#231)
* Update view.html.php

* Update default_items.php

* Update default.php

* Update view.html.php

* Update edit.php

* Update router.php

* Update router.php

* Update default_items.php

* Update view.html.php

* Update view.html.php
2016-07-03 11:07:25 +01:00
zero-24 8688bfd9cc Update view.html.php (#234)
* Update view.html.php

* Update edit_params.php

* Update view.html.php

* Update default.php

* Update view.html.php

* Update view.html.php
2016-07-03 11:04:21 +01:00
zero-24 276c32922e Fix CS for com_weblinks frontend helpers and global controler file (#230)
* Update route.php

* Update icon.php

* Update controller.php

* Update route.php
2016-07-02 12:02:00 +01:00
zero-24 1fd0653eb6 Update script.php (#233) 2016-06-28 22:08:56 +01:00
zero-24 5270b206cc Fix Cs for weblinks backend (#232)
* Update weblinks.php

* Update weblink.php

* Update controller.php
2016-06-28 22:05:31 +01:00
andrepereiradasilva 258f337d59 Implements searchtools, filters, dropdown actions and counting (#208)
* implements searchtools, filters and merge the other two PR

* just to force travis to run

* revert

* filter is published

* filter is published 2

* modify filter test thanks to yvesh

* code style

* elseif , not else if
2016-06-28 10:45:18 +01:00
Chris Davenport 40f0b35013 Add showon behaviour to group by subcategory config fields. 2016-06-28 10:23:20 +01:00
Emanuele Reggi cff91ba244 Group by subcategories on mod_weblinks (#38)
* Group by subcategories on mod_weblinks

* BUGFIX: added missing 1-column option.

* GroupBySubcategories turned Off by default.

* Improved readability of inline php statements.
2016-06-28 09:59:52 +01:00
zero-24 0af518e0f3 JArrayHelper => ArrayHelper (#221)
* cs and arrayhelper

* cs and arrayhelper
2016-06-25 22:23:16 +01:00
Prital Patel a3f6281bd4 [fix #212] Weblink created date not showed on Search view (#219)
Simple fix.  Two successful tests.  Thanks @pritalpatel
2016-06-25 22:09:37 +01:00
Bear 8b6db18948 issue #8891 fixed typo s/$cachable/$cacheable (#179)
Thanks @N6REJ
2016-06-25 21:51:02 +01:00
andrepereiradasilva d840a7f50b Convert remaining "Weblinks" text to "Web Links" (#210)
* "Weblink" to "Web Link" (frontend module)

* "Weblink" to "Web Link" (package language)

* update site name

* admin language

* admin language 2

* missing this one

* change text also in tests

* forgot one

* change frontend tests too
2016-06-25 21:10:22 +01:00
Puneet Kala 51a9d7f7ca Merge pull request #176 from andrepereiradasilva/ux-language
Adds language flags to weblinks listing tables
2016-04-27 00:18:18 +05:30
andrepereiradasilva 38d6fb0ec4 Update pkg_weblinks.xml 2016-03-18 18:10:15 +00:00
andrepereiradasilva 777a17f397 adapt to latest JoRobo version 2016-03-18 14:37:33 +00:00
andrepereiradasilva 24647f6e0e 2015 to 2016 and remove extra tab 2016-03-18 13:58:34 +00:00
George Wilson ae8e62c1bc Add missing not-null properties 2016-03-18 01:10:45 +00:00
Robert Deutz c279ea86a2 Added manifestfile in manifest folder
File must be copied because we have two versions of jorobo with different expectations where the file is located. If we udpate to jorobo > 0.2 then we delete the one in src

https://github.com/joomla-projects/jorobo/pull/13
2016-03-14 15:57:30 +01:00
Michael Babker 93de9a852e Package extension language files install in the frontend 2016-03-03 10:12:26 -05:00
infograf768 4838aa668a Adding Alert when deleting weblinks.
Similar to https://github.com/joomla/joomla-cms/pull/8995 implemented in core.
2016-01-28 08:08:09 +01:00
andrepereiradasilva 4596d0c77a Sincronize com_weblinks with PR https://github.com/joomla/joomla-cms/pull/8815 2016-01-02 15:12:59 +00:00
Nicola Galgano 8f464fc91b PHP 7 error when save a weblink
the model fix
2015-12-06 08:43:17 +01:00
Nicola Galgano c9ab22cdf0 PHP 7 error when save a weblink
Fatal error: Cannot use Joomla\String\String as String because 'String' is a special class name
2015-12-06 08:34:41 +01:00
Yves Hoppe 7ea2741520 Integrated robo build system - clean merge of #125 2015-11-02 10:55:42 +01:00
Viktor Vogel 92dc96881e Merge pull request #99 from remotehelp/patch-2
Update default_items.php
2015-11-01 11:29:21 +01:00
Viktor Vogel f913a99a87 Merge pull request #153 from therunnergit/count-clicks-global-option
Fix missing global option default
2015-11-01 10:56:26 +01:00
Viktor Vogel 16e02d58c4 Merge pull request #88 from alikon/patch-2
installation fix on MSSQL
2015-11-01 10:49:46 +01:00
Francesco Abeni 35e3f1f18a Fix missing global option default 2015-11-01 10:42:34 +01:00
remoteshaman.com 4c6ff1777b Update en-GB.com_weblinks.ini
placing the new string in alphabetical order
2015-10-15 15:29:25 +03:00
remoteshaman.com 5374929e52 Update default_items.php
"label label-warning" text "Unpublished" view only for administrator's and not need display for all user in filter label tag.
2015-10-15 05:26:38 +03:00
remoteshaman.com 9716197fdb Update en-GB.com_weblinks.ini
Lang variable COM_WEBLINKS_NUM_ITEMS missing for title NUM ITEMS in category list (pkg_weblinks_3.4.1.zip)
2015-10-15 05:20:24 +03:00
zero-24 8ccb881d66 Update edit.php 2015-09-10 10:27:45 +02:00
zero-24 8717ae7720 CS 2015-09-08 11:59:05 +02:00
Nicola Galgano 07a7fbbc6a installation fix on MSSQL
testing this one #7832 i was unable to install pkg_weblinks on MSSQL
the problem was that these fields (version,hits,modified_user_id,checked_out)  was passed like a string  instead of bigint
2015-09-08 08:49:37 +02:00
RolandD d3dcadfd2d Fixed clear button not working.
On the Weblinks list page, you can filter the results by putting text in the filter box. Clicking the X won't empty the search field.

To test:
1. Go to Weblinks
2. Filter the list
3. Click the X and it doesn't clear the search field
4. Apply patch
5. Reload page
6. Clear the search field with the X
7. Search field is now cleared
2015-09-06 12:05:17 -03:00
javier gomez 4951f7af4a Merge remote-tracking branch 'origin/master' into pr/76 2015-07-28 10:02:59 +02:00
Michael Babker 667b601185 Prepare 3.4.1 release 2015-07-23 10:06:44 -04:00
Brian Teeman 64870c54d3 update strings AND new/edit 2015-07-22 12:41:52 +01:00
Nicola Galgano 1a9e2de216 removed unneeded quote
@mbabker, removed.
2015-07-14 08:30:08 +02:00
Nicola Galgano dd71f1efa5 postgresql - error on pkg installation
#### Steps to reproduce the issue
try to install on postgresql


#### Expected result
it install


#### Actual result
don't install 


#### System information (as much as possible)
Weblinks 3.4.1 Release Candidate 2
PostgreSQL 9.3.5
Joomla 3.4.4-dev

#### Additional comments
without the setting give an invalid timestamp for the category table
2015-07-13 12:33:04 +02:00
zero-24 5b6740851e Update view.html.php 2015-06-30 10:56:01 +02:00
zero-24 b7b82620cf Update access.xml 2015-06-30 10:54:29 +02:00
wilsonge 0a29b6c0d5 Bump version to 3.4.1-rc2 2015-05-20 20:08:20 +01:00
wilsonge c23179f1c7 Move adding columns into the script. Fixes #40 2015-05-19 13:55:54 +02:00
Michael Babker 582ad8d6cf Only execute schema changes on MySQL, PHPCS stuff 2015-05-18 14:34:08 -04:00
zero-24 620fdb8116 Update default.php 2015-05-18 17:35:25 +02:00
George Wilson ab2fab5a80 Typo 2015-05-18 14:42:33 +01:00
George Wilson f6b614c6ad Clean up SQL query in script 2015-05-18 14:42:13 +01:00
George Wilson a8da38ee67 Didn't update version number properly 2015-05-18 12:14:35 +01:00
wilsonge 7a2be06b9e Tag version 3.4.1 RC 2015-05-18 12:11:15 +01:00
wilsonge f01b5a1087 Script location in the wrong place breaks SQL Upgrades.
Fixes #25. Fixes #30.
2015-05-18 01:49:59 +01:00
zero-24 d3b6aefe14 Backport: [imp] avoid to open div and closing it in different files
This PR backports: https://github.com/joomla/joomla-cms/pull/6134 to the weblinks repo and fixes: https://github.com/joomla-extensions/weblinks/issues/28
2015-04-09 14:03:24 +02:00
Nick Savov 8dbc42e45b Add method='upgrade' to plg_search_weblinks 2015-03-20 15:12:06 -05:00
Michael Babker ebe945ff98 Tagging release 3.4.0 2015-02-24 19:26:22 -05:00
Michael Babker 58ec6fef01 Optimization and cleanup 2015-02-17 20:20:59 -05:00
Michael Babker 70ba37b96e Copyright 2015 2015-02-17 19:35:48 -05:00
Michael Babker 8bac55b871 Sync language files to joomla/joomla-cms@5d5558d01c (Fix #24) 2015-02-17 19:32:26 -05:00
George Wilson 12f76f7841 Update version to RC 2015-02-17 21:56:30 +00:00
George Wilson 6c15ffb9a2 Merge pull request #15 from losedk/meta
Restore META information
2015-02-11 17:56:18 +00:00
George Wilson 67d0850975 Merge pull request #18 from dgt41/jquery_1
Introduce jquery formvalidator for com_weblinks
2015-02-08 02:33:06 +00:00
George Wilson e5c8fe4b16 Merge pull request #17 from wilsonge/patch-1
Allow DI of database object (see https://github.com/joomla/joomla-cms/pull/4992)
2015-02-08 02:32:33 +00:00
George Wilson 3073c066a2 Merge pull request #22 from smz/WblinksCategoriesItemsCount
Fix Items Count not displayed in categories list (com_weblinks)
2014-12-25 13:28:33 +00:00
Sergio Manzi 3046ab9a67 Fix Items Count not displayed in categories list (com_weblinks)
Issue: In com_weblinks the "Items Count" was not displayed in categories
list
Cause: Wrong parameter name
2014-12-25 03:38:15 +01:00
George Wilson fc6fbde3d7 Merge pull request #20 from sovainfo/patch-1
Regression: core_urls: url
2014-12-24 10:42:30 +00:00
Sergio Manzi 93a093441c Toggle icon Plus/Minus when expanding/collapsing
Ported to com_weblinks from a similar PR in core
(https://github.com/joomla/joomla-cms/pull/5469)
2014-12-19 11:21:11 +01:00
Thomas Hunziker 8008a986b9 Update references to JRegistry for administrator folder. 2014-12-04 20:51:10 +01:00
Thomas Hunziker dbf29cdc71 [CS] Codestyle changes done in staging. 2014-12-04 20:44:16 +01:00
dgt41 0af2158525 Remove unneeded jquery .ready() 2014-12-03 15:29:26 +02:00
sovainfo 2cdda3e016 Update install.mysql.sql
Field mapping should be core_urls: url
2014-11-28 02:32:50 +01:00
dgt41 ceed4b3be0 Introduce jquery formvalidator for com_weblinks
#### Executive summary

This PR converts the form validation on com_weblinks to use plain jquery (no mootools call on every form).
Also NO MORE INLINE SCRIPTS!

#### Testing

1. Apply first PR #4888 (!important)
2. Apply this PR
3. In the admin area go to com_weblinks and try to submit any form.

If no javascript errors are logged in your browser and the functionality remains the same your test is a pass in any other case please report the errors here

Please also check these:
administrator/index.php?option=com_checkin should demonstrate multiselect without mt
administrator/index.php?option=com_users&view=mail should demonstrate form sent and validate without mt
administrator/index.php?option=com_modules should demonstrate multiselect and combobox without mt
http://localhost/administrator/index.php?option=com_admin&view=sysinfo should demonstrate highlighter.js without mt
Logout and log in to demonstrate the use of noframes without mt.
2014-11-13 17:09:11 +02:00
George Wilson cc7b6f5602 Allow DI of database object (see https://github.com/joomla/joomla-cms/pull/4992) 2014-11-05 16:43:14 +00:00
Peter Lose c7dfabb284 Restore META 2014-10-17 16:29:56 +02:00
George Wilson 8bb6d33a57 Use new JTable features for WeblinksTableWeblink
See https://github.com/joomla/joomla-cms/pull/4307
2014-10-08 11:58:35 +01:00
Michael Babker 6b693a8e64 Change package location for language files 2014-10-04 05:27:36 -04:00
Michael Babker da955be9b9 Fix extension manifests for packaging 2014-09-26 11:17:15 -04:00
Michael Babker 0928782f4c Perform the drop queries in a procedure to check for existance 2014-09-03 14:09:26 -04:00
Michael Babker 431d5e0fd7 Add MySQL schema updates from 2.5 to 3.4 2014-09-03 14:01:06 -04:00
Michael Babker a401bdceba Set version to 3.4.0-dev 2014-09-01 11:53:50 -04:00
Michael Babker 524b2d38bb Progrmatically insert the Uncategorised category 2014-09-01 11:32:19 -04:00
Michael Babker 0a08922485 Update database schema routines 2014-09-01 11:20:50 -04:00
Michael Babker 81faa2db78 Sync to joomla/joomla-cms@ad4883199a 2014-09-01 10:48:14 -04:00
zero-24 392d6c8a2a Update pkg_weblinks.xml 2014-07-17 08:18:05 +02:00
zero-24 a3cf54fe62 Fix Update Link
The old link (https://github.com/joomla-extensions/weblinks/master/manifest.xml) send a 404 error.

https://raw.githubusercontent.com/joomla-extensions/weblinks/master/manifest.xml
2014-07-17 08:15:13 +02:00
Andrew Eddie a7b3eb7c5c Initial decoupling of Weblinks
July made me do it!
2014-04-08 22:32:59 +10:00