32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-11-16 17:45:08 +00:00
Commit Graph

301 Commits

Author SHA1 Message Date
Tuan Pham Ngoc
908870576f Use namespace class + remove un-used code 2021-06-20 16:33:55 +07:00
Tuan Pham Ngoc
17fbda865c Controller Cleanup 2021-06-20 16:27:34 +07:00
Tuan Pham Ngoc
02f9811d37 Quick change to weblinks list 2021-06-20 16:16:01 +07:00
Tuan Pham Ngoc
b7fe535a17 Use J4 Toolbar 2021-06-20 15:45:18 +07:00
Tuan Pham Ngoc
31a4a595c1 Fix weblinks details page 2021-06-20 12:49:35 +07:00
Tuan Pham Ngoc
b318b68d07 Make weblinks 4.0-compatible 2021-06-19 21:17:09 +07:00
Tobias Zulauf
c1cff7a7ed
[4.0] Move de-DE to this repo (#415) 2020-09-07 12:38:49 +01:00
Thomas Hunziker
aed17785a4
Remove language file prefix (#417) 2020-03-11 18:42:02 +00:00
George Wilson
25fa454c98
Remove not required code in j4 2019-09-05 15:57:42 +01:00
wilsonge
2be3dec52a
Allow editing the form 2019-08-19 21:48:37 +01:00
wilsonge
828325e86c
Move to new dispatcher concept 2019-08-19 21:47:59 +01:00
wilsonge
3b8ade5bd8
Merge branch 'master' into 4.0-dev 2019-08-19 20:52:26 +01:00
wilsonge
f23e5402a7
Use non-deprecated renderField method 2019-08-17 12:54:15 +01:00
George Wilson
821ca1f4eb
Merge branch 'master' into feature/drop-php55 2019-08-16 18:01:28 +01:00
Allon Moritz
f7519475f1 Make it joomla 4 compatible (#362) 2019-08-16 14:52:52 +01:00
David Jardin
20b335d918 Replace require_once call with Autoloader (#404)
Allows the usage of a custom IndexerAdapter class using a JLoader override
2019-08-13 23:46:59 +01:00
wilsonge
0716d5e3e6
Fix code style errors in project 2019-08-13 00:15:35 +01:00
Elijah Madden
802cff4ae8 Use correct database (#391)
Suppose you're not operating on the default Joomla database (the one returned by `JFactory::getDbo()`) but on another one entirely? In theory, it is possible. In that case, you will want this new table object to use the same DBO that `$this` is using. 

If you look at any similar table classes that are built in to Joomla, you will see this same kind of thing. So this is consistent with Joomla practices.
2019-03-15 12:24:27 +00:00
Allon Moritz
2247d9ba4d Move to namespaces (#384)
* Make it joomla 4 compatible

* Joomla 4 compatibility

* Move to dispatcher

* Move controller.php to DisplayController

* Define default view for DisplayController

* Move the model weblinks.php to WeblinksModel

* Move the view weblinks list view view.html.php to HtmlView.php

* Move the view templates like default.php to the right position

* Move the weblinks controller weblins.php to WeblinksController.php

* Move the weblink model weblink.php to WeblinkModel.php

* Remove the get table function in the WeblinkModel

* Moved the table weblink.php to WeblinkTable.php

* Moved the controller weblink.php to WeblinkController.php

* Moved the web link form view view.html.php to HtmlView.php

* Move the weblink layouts to the right folder

* Convert list template to Bootstrap 4

* Convert form layout to Bootstrap 4

* Move forms to root folder

* Namespace field

* Calling the parent check function in the table

* Adapt travis file

* Pass factory to parent class
2018-02-19 10:44:55 +01:00
Astrid
8574a4f3cf improvedtheBatchview (#375) 2018-02-12 23:57:58 +01:00
Astrid
84df598015 makeSameAliasPossibleForDifferentLanguages (#373) 2017-11-06 12:56:26 +01:00
Astrid
08e6da7006 addJoroboMapTaskToRoboFile (#374) 2017-11-06 12:55:24 +01:00
Astrid
ffc012d56a changedlanguagestringssothatimagefloatismoreconcrete (#376) 2017-11-06 12:54:06 +01:00
Astrid
9bc1752ca5 First imageignores image float setting366 (#378)
* usethesameclassforfloatingtheimageslikecomcontent

* addchangetosecondimage
2017-11-06 12:52:45 +01:00
Astrid
c9d4f57cea mapping of new media files was not correct (#372) 2017-11-06 12:52:05 +01:00
Astrid
d0ff882375
Merge pull request #349 from infograf768/weblinks_assoc
Implementing full associations for single weblink
2017-11-03 21:46:26 +01:00
Astrid
e69347e255 Update config.xml
deleted merge conflict hints.
2017-09-16 18:36:25 +02:00
zero-24
8b9ab398a9
Merge branch 'custom_fields' of github.com:/zero-24/weblinks into custom_fields 2017-09-13 19:04:44 +02:00
zero-24
6243927ffd
merge conflict 2017-09-13 19:03:30 +02:00
zero-24
e8a9d563af thanks @quy 2017-09-01 01:30:47 +02:00
zero-24
ef9e8f4198 thanks @quy 2017-09-01 01:29:47 +02:00
zero-24
84a5009952 thanks @quy 2017-09-01 01:29:16 +02:00
zero-24
1ad63abd54 thanks @quy 2017-09-01 01:28:39 +02:00
Brian Teeman
2ebe811b60 xml code-style (#363)
* xml code-style

* fixes

* oops
2017-08-31 19:56:12 +02:00
Brian Teeman
84a98f9718 typo (#358)
i made a pr to the cms as well
2017-08-16 22:23:50 +02:00
Jean-Marie Simonet
725464800f Correcting weblink frontend model to adapt to the new display 2017-06-10 08:33:20 +02:00
zero-24
58fa74a1a2 Update modal.php 2017-05-22 14:14:50 +02:00
zero-24
7e9269d993 Update weblink.php 2017-05-22 14:13:49 +02:00
infograf768
b6e084a828 deploy 2017-05-22 12:04:38 +02:00
zero-24
9b30cedb4d fix some smal things 2017-05-21 18:59:44 +02:00
Jean-Marie Simonet
db0bfa95b9 small corrections 2017-05-20 08:28:21 +02:00
Jean-Marie Simonet
4f33935200 correcting date 2017-05-17 09:08:43 +02:00
Jean-Marie Simonet
3151bf9c8f Minifying js and adding xtd-editors web link 2017-05-17 09:06:21 +02:00
Jean-Marie Simonet
75684b9918 Changing comment 2017-05-16 17:55:36 +02:00
Jean-Marie Simonet
9b6e02a384 adding media in manifest 2017-05-16 17:50:43 +02:00
Jean-Marie Simonet
99f239c8a5 missing change 2017-05-16 08:42:34 +02:00
Jean-Marie Simonet
3389bf4902 IMplementing full associations 2017-05-16 08:03:22 +02:00
zero-24
b68ab0f2bd Disable the buttons and just allow editor none for not authenticated users (#340) 2017-04-23 12:21:33 +02:00
zero-24
c6eac62828 only support mod_stats and mod_stats_admin (#338)
* only support mod_stats and mod_stats_admin

* logic error
2017-04-21 19:24:27 +02:00
Astrid
4c23724ddd Merge pull request #333 from zero-24/stats
Move weblinks stats to weblinks repo
2017-03-25 15:01:52 +01:00
zero-24
bf250e5a62 Update weblinks.xml 2017-03-25 14:15:51 +01:00
zero-24
300460adc8 Move lang files for search plugin (#334)
* Move search language files

* Add postflight script to remove old language files

* Update script.php

* remove the useless scriptphp
2017-03-25 12:25:31 +01:00
zero-24
efc3e398d6 apply changes 2017-03-24 12:51:56 +01:00
Astrid
26cec36c12 Revert "Frontend view single weblink" 2017-03-24 11:53:09 +01:00
Astrid
3a32a86772 Merge pull request #325 from astridx/frontend_view_single_weblink
Frontend view single weblink
2017-03-24 11:51:31 +01:00
Brian Teeman
7e832b98c5 Correct PR #315 (#330)
Corrects PR #315 which changed ID to id

The style guide says it should have been ID

It was wrong in the joomla-cms repo and has been corrected to ID there
2017-03-23 23:09:44 +01:00
Astrid
0f911271bf Xmlcs (#329)
* first xml review

* fix the other xmls too

* add frontend component

* add missing tabs

* add missing tabs
2017-03-22 10:47:54 +01:00
infograf768
698928a287 Update associations.php (#328)
This correction is similar to what was merged in core:
See https://github.com/joomla/joomla-cms/pull/14646
2017-03-16 12:26:26 +01:00
Astrid
3df6255489 Merge pull request #319 from zero-24/xmlcs_others
Review XML CS for the XML files in the module + plugin
I applied the patch and I changed some options in web links component and search weblinks plugin. All changes are correcly saved. So I am brave and merge :)
2017-03-12 23:05:17 +01:00
astridx
f1f0fffb1c correced __DEPLOY_VERSION__ 2017-03-12 22:50:26 +01:00
infograf768
23e07f6cae Create associations.php helper to let weblinks be used into com_associations (#294)
* Create associations.php

This should be merged after the new com_associations gets in core
https://github.com/joomla/joomla-cms/pull/13537

* some CS fixes
2017-03-12 14:56:34 +01:00
Nicola Galgano
9e56646abc Add count and link to tagged items (#298)
* Add count and link to tagged items

[com_tags] - Add count and link to tagged items #10895

* added lang strings

added lang strings

* just added some spaces in the new code
2017-03-12 13:52:04 +01:00
Frank Mayer
4b7480f54a Replace deprecated isSite() (#286) 2017-03-12 13:31:42 +01:00
Thomas Hunziker
e54849f018 UseGlobal or list fields (#278) 2017-03-12 13:25:07 +01:00
andrepereiradasilva
0d5021838e use the new languages layout (#279) 2017-03-12 13:13:01 +01:00
astridx
5bb713b157 add the forgotton <a href> 2017-03-10 22:22:00 +01:00
astridx
cc7df89721 correciton 2017-03-05 20:01:56 +01:00
astridx
b0178665d2 frontend view 2017-03-05 17:46:13 +01:00
zero-24
0f4632baea Merge branch 'master' into xmlcs_others 2017-03-04 19:41:57 +01:00
Yves Hoppe
b9b7d20ec0 Remove the link target frrom the module as it is set in the weblink (#320) 2017-03-04 19:40:54 +01:00
zero-24
d4a03c2d55 default should be off 2017-02-25 13:04:33 +01:00
zero-24
7a0c15a453 module and plugin xmls 2017-02-25 12:18:06 +01:00
zero-24
95bd6c9c2e cs 2017-02-25 11:52:36 +01:00
zero-24
f7691ed50d first step for custom_fields 2017-02-25 11:42:25 +01:00
zero-24
b01cde83c1 ID vs. id (#315) 2017-02-18 00:19:41 +01:00
zero-24
3f1a5e3a8d some missing copy updates to 2017 (#314) 2017-02-16 20:05:09 +01:00
zero-24
9f56672c35 Delete script.php 2017-02-13 20:42:23 +01:00
zero-24
1463cd26df Merge branch 'master' of github.com:joomla-extensions/weblinks 2017-02-13 20:41:21 +01:00
zero-24
29f652a452 move the script.php 2017-02-13 20:40:51 +01:00
zero-24
6c67d8a9fd make travis happy
```
FILE: ...mla-extensions/weblinks/src/administrator/manifests/packages/script.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
 22 
 ERROR
Constructor and destructor comments must not have a @return tag -------------------------------------------------------------------------------- UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY
```
2017-02-13 20:34:47 +01:00
zero-24
ef4415edf1 Script PHP (#306)
* add scriptphp

* add script PHP with warning about a not supported version

* add script PHP with warning about a not supported version

* remove debug

* add script PHP with warning about a not supported version
2017-02-13 20:21:37 +01:00
Yves Hoppe
44b155f700 Remove the duplicate manifest file in the src folder 2017-02-13 17:45:34 +01:00
zero-24
d06e41c17c This is going to be 3.6 and not 3.0 (#301) 2017-02-13 17:41:59 +01:00
Yves Hoppe
516252c286 Copyright header update to 2017 2017-02-13 17:20:35 +01:00
andrepereiradasilva
5178381b51 Add an exception when not allowed (#262) 2017-02-13 17:05:26 +01:00
Astrid
2ed39bcc36 codestyle (#293)
* codestyle

* Update weblink.xml
2017-02-13 17:00:43 +01:00
chrisdavenport
e6a50f1fdb Missed the year 2017-01-02 09:43:22 +00:00
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