30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 15:00:48 +00:00
Commit Graph

364 Commits

Author SHA1 Message Date
chmst
74b5ae8cfa Remove descriptions in J4 2021-07-20 11:25:26 +02:00
chmst
469442699d Adapt config.xml to j4 2021-07-20 11:23:41 +02:00
Tuan Pham Ngoc
6bedd432f8 Fix frontend edit weblink URL 2021-07-18 20:02:12 +07:00
Tuan Pham Ngoc
9107b7e1de Clean up code 2021-07-18 18:39:55 +07:00
Tuan Pham Ngoc
8d714ace8d Adding menu items to com_fields should be simple 2021-07-18 18:23:35 +07:00
Tuan Pham Ngoc
706d6777b1 Remove un-used language items 2021-07-17 23:05:45 +07:00
Tuan Pham Ngoc
31d588492b Add Fields and Field Groups menu item during installation 2021-07-17 22:43:08 +07:00
Tuan Pham Ngoc
c50f4c7dbe Remove spacer field as it is used on description of field set 2021-07-17 20:33:20 +07:00
Tuan Pham Ngoc
e6e8b6c9ea Remove description from fields in menu item types 2021-07-17 20:17:28 +07:00
Tuan Pham Ngoc
f7d819bb6e Remove description from some fields in component config (base on similar settings in com_contact) 2021-07-17 20:01:24 +07:00
Tuan Pham Ngoc
193f549f05 Use switcher for radio settings 2021-07-17 18:23:53 +07:00
Tuan Pham Ngoc
2219b15291 Look like $item->path is not used in J4 anymore 2021-07-17 18:03:24 +07:00
Tuan Pham Ngoc
c3cf5e6936 Fix errors on weblinks module 2021-07-17 17:56:09 +07:00
Tuan Pham Ngoc
30c155797f Replace Factory::getConfig()->get with Factory::getApplication()->get 2021-07-17 17:42:53 +07:00
Tuan Pham Ngoc
226e81f7ab Fix prepared statement, we need different parameters to bind same value :( 2021-07-17 17:40:29 +07:00
Tuan Pham Ngoc
8b9d34ca7d Replace deprecated castAsChar with castAs 2021-07-17 11:58:17 +07:00
Tuan Pham Ngoc
01bc443bc0 Replace Factory::getUser() with Factory::getApplication()->getIdentity() 2021-07-17 11:49:07 +07:00
Tuan Pham Ngoc
92d01d2bc6 Misc Cleanup to component code 2021-07-17 11:45:13 +07:00
Tuan Pham Ngoc
c6455b275a Convert frontend models to prepared statements 2021-07-16 23:53:54 +07:00
Tuan Pham Ngoc
e225dc705e Convert backend models to prepared statement 2021-07-16 23:02:40 +07:00
Tuan Pham Ngoc
269b6f0bbf Convert remaining J classes to namespace 2021-07-16 21:58:51 +07:00
Tuan Pham Ngoc
a2ca619d87 use Joomla\CMS\Layout\LayoutHelper; 2021-07-16 21:51:48 +07:00
Tuan Pham Ngoc
f4108b74b3 Drop SQL Server support 2021-07-10 18:25:33 +07:00
Tuan Pham Ngoc
3a8c0c10b5 Delete files/folders when update from old version 2021-07-10 18:23:14 +07:00
Tuan Pham Ngoc
56ddfa6938 Look like metadata.xml is not used in J4 anymore 2021-07-10 17:41:49 +07:00
Tuan Pham Ngoc
98e0ee2bed Minor clean up to submit weblink form 2021-07-10 17:35:11 +07:00
Tuan Pham Ngoc
70bb539931 Basic category layout (base on layout from com_contact) 2021-07-10 17:28:40 +07:00
Tuan Pham Ngoc
c2084a7ff9 Borrow categories layout from com_contact 2021-07-09 23:05:55 +07:00
Tuan Pham Ngoc
02baa68d28 Support Custom Fields 2021-07-09 19:43:13 +07:00
Tuan Pham Ngoc
a007ae9a2c Optimize namespace import 2021-07-09 16:42:45 +07:00
Tuan Pham Ngoc
ffd3663c58 More Copy/paste fixes 2021-07-01 22:06:22 +07:00
Tuan Pham Ngoc
1cab511a4e Replace JRoute 2021-07-01 21:55:05 +07:00
Tuan Pham Ngoc
d42ef8dbdf Replace JFactory 2021-07-01 21:46:35 +07:00
Tuan Pham Ngoc
bab5787a77 Replace JText with use Joomla\CMS\Language\Text; 2021-07-01 21:41:54 +07:00
Tuan Pham Ngoc
4d3e52bd73 Replace JHtml with HTMLHelper 2021-07-01 21:37:36 +07:00
Tuan Pham Ngoc
84d245a445 Another copy/paste 2021-07-01 21:26:06 +07:00
Tuan Pham Ngoc
3f5df08915 Fix copy/paste errors 2021-07-01 21:25:05 +07:00
Tuan Pham Ngoc
e7c0beed89
Merge pull request #1 from alikon/patch-6
fix for postgresql
2021-06-27 19:34:13 +07:00
Tuan Pham Ngoc
882e4ac7dc Correct language file for package 2021-06-27 18:21:50 +07:00
Nicola Galgano
af30a2a151
frontend save 2021-06-27 09:53:37 +02:00
Nicola Galgano
9b9e42ff5d
hits for postgres 2021-06-27 09:28:50 +02:00
Tuan Pham Ngoc
b9330b42a9 Codestyle error fixes 2021-06-26 17:36:16 +07:00
Tuan Pham Ngoc
f9d7f8625b CS 2021-06-26 17:13:37 +07:00
Tuan Pham Ngoc
a39c5f6b12 Remove manual setState calls 2021-06-26 14:18:27 +07:00
Tuan Pham Ngoc
15466baa0f Set default value for fields (fix frontend submit weblink error) 2021-06-26 14:12:43 +07:00
Tuan Pham Ngoc
6c68bcad5d Make weblink editor-xtd works 2021-06-25 23:56:03 +07:00
Tuan Pham Ngoc
1a415435af Remove un-used helpers 2021-06-25 18:33:44 +07:00
Tuan Pham Ngoc
922e4353eb Convert weblinks module 2021-06-25 17:57:37 +07:00
Tuan Pham Ngoc
49242aa1e2 Convert weblink editor-xtd plugin 2021-06-25 17:11:42 +07:00
Tuan Pham Ngoc
6186bfe022 Convert weblinks system plugin 2021-06-25 17:04:12 +07:00
Tuan Pham Ngoc
3d07471705 Convert search plugin 2021-06-25 16:57:30 +07:00
Tuan Pham Ngoc
13c2dc32da Convert weblinks finder plugin 2021-06-25 16:49:01 +07:00
Tuan Pham Ngoc
23650d0891 Add back icon and route class for backward compatible purpose 2021-06-20 21:42:26 +07:00
Tuan Pham Ngoc
7b12f1c360 Remove JHtmlIcon classs 2021-06-20 20:26:27 +07:00
Tuan Pham Ngoc
d455713663 Remove un-necessary JHtml::addIncludePath usage 2021-06-20 20:25:16 +07:00
Tuan Pham Ngoc
554dde6c03 Add icon service 2021-06-20 20:21:32 +07:00
Tuan Pham Ngoc
8336c0095d Use weblinksadministrator service to display associations 2021-06-20 20:19:36 +07:00
Tuan Pham Ngoc
b7f9b7056f Typo 2021-06-20 19:41:16 +07:00
Tuan Pham Ngoc
f499b9ee7b Start supporting Multilingual Associations 2021-06-20 18:40:26 +07:00
Tuan Pham Ngoc
0c4a9ce8b5 Add HTML Service 2021-06-20 18:25:20 +07:00
Tuan Pham Ngoc
08fe10e0ef Weblink Model Field 2021-06-20 17:58:47 +07:00
Tuan Pham Ngoc
703477306a Support version history 2021-06-20 16:53:42 +07:00
Tuan Pham Ngoc
56c770f088 Remove tag field description, it is not needed for J4 2021-06-20 16:41:51 +07:00
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