Commit Graph

313 Commits

Author SHA1 Message Date
6623da7a8d
Resolve gh-111 2017-12-04 17:57:49 +02:00
fa83ea7bc9
moved the dispatcher out of the loop 2017-12-04 17:57:19 +02:00
87ba078dc8
fixed unintended formating. tweaked functions. resolved gh-189 2017-12-04 16:56:18 +02:00
Michael Richey
9a6ad66e32
Fixed context 2017-12-03 19:53:05 -06:00
Michael Richey
102ed837c2
automatic context based on available vars 2017-12-03 19:43:45 -06:00
Michael Richey
b10b019494
Implement onContentPrepare 2017-12-03 19:24:53 -06:00
Michael Richey
cc9a0e9c4c
I missed a parameter 2017-12-03 18:50:21 -06:00
Michael Richey
f19a279b16
revert to string search
to allow for malformed xml input
2017-12-03 16:13:36 -06:00
Michael Richey
2661b62929
Revenge of Pretty Print
This time it's personal

Also, documented new functions
2017-12-03 13:12:56 -06:00
19d4d77305
Improved the get snippets area to load one library at a time. started on the adaptation of the compiler that is needed for the new libraries 2017-12-03 20:09:04 +02:00
Michael Richey
07051d0955
pretty print
I've got pretty print much closer, but I haven't yet been able to produce it with a starting indent level.  The alternative is to run the file xml output through the pretty printer before writing the file.
2017-12-03 11:47:48 -06:00
Michael Richey
8f3d573202
Code Formatting
Small things are killing me.....  some concatenation is wrapped in spaces, some isn't....  Some functions start braces on the 2nd line, some don't

I think this is the last one
2017-12-03 11:12:18 -06:00
Michael Richey
ca4919f0f3
Code Formatting 2017-12-03 11:09:39 -06:00
Michael Richey
c1675dbd30
Code formatting 2017-12-03 11:08:01 -06:00
Michael Richey
55afca91a2
String Manipulation to SimpleXML and DOMDocument
I removed the string manipulation in favor of something more development friendly.  The drawback is that the resulting XML is not as pretty, although I did run the processed fields through DOMDocument pretty printer.  The entire resultant XML could be run through a pretty printer, but still won't achieve the tab indented node attributes.

The entire process could be made much more efficient, but this was just an initial conversion.
2017-12-03 02:02:11 -06:00
82df61aa4a
added interface of the new decoupled libraries concept gh-92 2017-11-26 04:03:27 +02:00
Michael Richey
9760ac86a3
Prevent getItem from clearing $item->params
Additional check added to params test to ensure that if parent::getItem values are not removed if present.
2017-11-24 01:22:17 -06:00
e652d5b5b7
Added a fix to insure the contributor details are added to JCB original snippets. 2017-11-21 13:27:53 +02:00
5ae67c1ecc
Added bulk updater to get snippets area. Added contributor details to snippets table. Imporved the installer to update the library matchup of old snippets. gh-92 2017-11-20 14:35:30 +02:00
eb43f1e3bc
Finished the bulk get snippets UI area. Tweaked some of the get snipptes scripts, added some icons gh-92 2017-11-18 02:10:38 +02:00
dece9016ba
Started with the bulk option to get snippets @ro-ot 2017-11-17 19:51:35 +02:00
268b609cea
Completed the get snippets area so JCB community snippets can with easy be added to the local snippets gh-92. 2017-11-17 18:18:47 +02:00
f34e1b19f8
Added sharing of snippets option and started adding get snippets custom admin view gh-92. Fixed gh-153 published settings for categories. 2017-11-16 06:37:32 +02:00
1cc40dbfe4
updated Uikit v2 2017-11-12 02:33:10 +02:00
7d27af5d59
Added snippet types and libraries to snippets 2017-11-12 00:18:13 +02:00
efde286a1b
Added Uikit3 to JCB in response gh-92 2017-11-11 06:33:51 +02:00
48d821628d
Resolved gh-179 to unset fields that may not be in some DB's 2017-11-10 04:13:36 +02:00
4eac7d54f0
Resolved gh-169 to insure the addrulepath is also added to the default.xml file of site views. Improved the field types a little with adding the validation and message property to various field types. 2017-11-08 15:49:15 +02:00
5aabfa9cd6
Updated JCB to version 2.6.3 to push out the changes made to the compliler and adding the FTP field type back. 2017-11-06 17:33:46 +02:00
6b52f7ce1d
Fixed the version number in the readme, also update the hello world tutorial. 2017-11-06 16:18:06 +02:00
fe3f32c6e7
Added version options to JCB, also changed JCB version option to only first 2 numbers. This should help cut down on the commit changes to JCB on each compilation. 2017-11-06 16:04:23 +02:00
9e6c93a51e
Added FTP field type back to core, resolves gh-173 2017-11-06 15:48:44 +02:00
cf32d2c97f
Few bug fixes in the compiler and the component config area 2017-11-04 15:06:59 +02:00
c30e6308f1
fixed gh-167 so that config fields can be safed 2017-11-04 14:37:13 +02:00
87de251f2e
Resolved gh-165 pagination issue thanks @kevincam3 2017-11-03 23:57:15 +02:00
0976f79940
Fixed a few bugs in connection to v2.6.0 and also made a few tweaks to the fields field 2017-11-03 01:41:32 +02:00
f85925c933
Fixed gh-155 that is caused by the checkbox behavior in the subforms. Also adding view string to validation check in ajax model. 2017-11-01 05:16:21 +02:00
805398e1a1
fixed the update link 2017-10-31 04:34:25 +02:00
3d6fb89adb
Resolved export issue that dropped the layouts, and did not export them. 2017-10-30 22:01:34 +02:00
5553e2b822
removed linked components from admin views. 2017-10-30 21:19:39 +02:00
306a9b9613
updated the compiler to first check if array values is set 2017-10-30 20:50:56 +02:00
ccb3f09a34
Major Upgrade to version 2.6.0 2017-10-30 15:41:47 +02:00
1d2dc3ac20
Added the [download total badge](https://github.com/h5bp/lazyweb-requests/issues/150#issuecomment-340263008) back since it was fixed. 2017-10-30 15:22:23 +02:00
0ba5ec06fc
Made changes to the compiler in relation to version control. Resolved gh-154 to insure string translation for state values. Added shortcuts in Joomla Component list view to all linked tables in their relationship with the Joomla Component 2017-10-30 15:08:02 +02:00
ae3dedf0d0
Adapted the importer of JCB packages to now work with the new joomla component changes 2017-10-29 18:07:37 +02:00
d92596afb5
Removed the [download total badge](https://github.com/h5bp/lazyweb-requests/issues/150#issuecomment-340263008) since it stop working. 2017-10-29 15:51:43 +02:00
6003b45b7a
Adapted the compiler to use the new tables and subforms for the joomla component. Improved the compiler to make more use of the array_map function 2017-10-29 13:03:06 +02:00
2bab5e2721
Added language strings to the ajax table headers of subforms. Adapted the export of JCB packages to also include the new tables. 2017-10-28 05:25:33 +02:00
9f7ee83646
Improved the set name method in ajax.php. Tweaked a few small things around the display of ajax table return values. 2017-10-27 03:35:08 +02:00
18946f8ef6
fixed copy error and undeclared variable in ajax.php 2017-10-26 23:11:52 +02:00
f15b67cff1
Added notice of language (tanslations) added or not added with details to compiler
Resolved gh-146 compiler error on joined db in dinamic get thanks to @mwweb & @ro-ot
Resolved gh-147 by adding the sort of fields back into the save method
Resolved gh-144 to ensure that the published tab (fields overwriting and adding) option is available again.
Resolved gh-145 by moving the subforms to their own tab in dynamic get view
Converted all repeatable fields to subform fields in Joomla component view
Moved 9 subforms and other fields to their own table and view (decopuling them fom Joomla component view), that means we added 9 more views and tables to JCB
Added all the ajax for buttons and display views to Joomla component view
Added tmp scripts all across the new areas with subforms to ensure all repeatable fields are converted. Will be removed in v2.7.0
Added synced copy, change state and delete in Joomla components view in relation to all tables linked to it (same as with admin views)
2017-10-26 18:43:51 +02:00
ea650f5fc1
Added status, copy and delete sync between admin_view linked views (admin_fields, admin_fields_conditions). 2017-10-22 01:55:16 +02:00
a19b410adc
Stable Release To Upgrade https://youtu.be/YaycQcsMpOs 2017-10-21 01:53:13 +02:00
d6965f304c
Fixed JCB package Import. Fixed snippet display in site view. Imporved export of JCB packages. 2017-10-20 18:17:46 +02:00
f7d5ac84c4
Imporved the field display on admin fields conditions to only show fields linked to the admin view. Added access back to all JCB admin views. Fixed the export of JCB packages to include the new admin_fields and admin_flieds_conditions tables. Adapted the JCB package import method to be able to import old JCB packages 2017-10-19 05:53:55 +02:00
6c29a6fca1
Added field filtering to admin fields conditions to only load fields linked to admin view. Updated the component export method to also export the new views and field relationships 2017-10-16 19:14:23 +02:00
c2972c3e17
fixed a line break incorrectly escaped, added better description to new fields layout 2017-10-14 20:07:23 +02:00
5a14049afd
Removed JError from admin views, and compiler. Added edit link to each field in admin view. Removed linked to admin view from fields view 2017-10-14 19:20:05 +02:00
30574857bf
Added shortcut buttons to the admin views list view to quickly access admin fields. Imporved the upgrade script to insure beter conversion of fields from repeatable to subform fields. 2017-10-14 17:56:04 +02:00
fbfeef5353
fixed bug in custom admin view, due to incorrect space in table name 2017-10-14 05:41:14 +02:00
2b7914f05d
Added field fix in models to help with the change from repeatable fields to subform fields. Added ajax to load admin fields and conditions into the admin view. 2017-10-14 05:37:18 +02:00
f7b168d762
Fixed tab line-up so the linked component in the admin_view will show again 2017-10-13 05:52:15 +02:00
dfd98aeacf
Cleaned-up some more javascript one the admin_view. Changed the admin_view layout. Improved the converion of data. Added a new tabsName field to the admin_fields view. 2017-10-13 05:45:54 +02:00
fc41ba85d8
Fixed the dynamicGet ajax to now get field values from the new admin_fields table 2017-10-13 01:39:04 +02:00
35482416cb
Decoupled fields and conditions from admin view as explained in gh-136. Added new admin_fields and admin_fields_conditions tables and moved the data from admin_view to these new tables. 2017-10-13 01:14:17 +02:00
39e1e5f078
Removing repetable fields from site view, custom admin view, and admin view. Also updated the compiler, removed permissions on fields to speedup page load in admin and joomla component views 2017-10-12 02:50:14 +02:00
3d1ba0321a
Added Wiki to JCB. Resolved gh-125 to insure phone numbers are treated as strings. Resolved gh-128 by adding field to Joomla Component View that allows javascript to be added globaly. Converted a few more repeatable fields to subform fields, this is an ongoing project to remove repeatable fields from JCB. 2017-10-06 20:28:28 +02:00
5bb5e3e909
Updated the readme to link to the new Quick Build of a [Hello World component in JCB video on Youtube](https://youtu.be/1KBBtQUxMTc) 2017-09-20 16:49:38 +02:00
9e140b40da
convert repeatable properties field in the field types view to subform field 2017-09-18 04:20:50 +02:00
06416e665d
Fixed gh-120 that allows export of component with language translations 2017-09-18 02:18:23 +02:00
72c6136bfb
Resolved gh-118 to insure JCB loads the needed language strings to the system language file during compilation 2017-09-13 13:59:58 +02:00
5d3e93c560
Fixed gh-117 to allow custom sql strings to be addedas a value key. 2017-09-13 12:15:14 +02:00
8ccb13f3e0
resolve gh-115 to allow excluding of folders and files in the repository folder 2017-09-13 02:37:43 +02:00
4b3bc9bd03
Moved FTP signature to its own table, so we can use it more securely around JCB (even in the global settings). Improved the Linked view option in admin-views. 2017-08-25 02:56:05 +01:00
8501e37b3e
updated some of the component import script, resolved gh-113 to improve assets rules setting for components 2017-08-23 21:38:28 +01:00
1c37f13820
fixed component import issue, to insure mysql dump data in admin-view gets imported correctly 2017-08-23 15:52:31 +01:00
e6b3c2391d
fixed function button bug that loaded it to all views, instead of only the owner view 2017-08-22 23:44:53 +01:00
cfc1af2b69
added site-view switch to allow default public access if access is set on the site view as explained in gh-113 2017-08-22 23:17:19 +01:00
9c1ee3e88a
updated the donation info 2017-08-21 02:24:30 +01:00
e3528344af
Major upgrade, to initiate front-end development for JCB. Little steps at a time forward. 2017-08-20 22:18:16 +01:00
0ccc84e2ff
fixed the getVars backward compatibility issue, Added replyto and replytoname to email helper, renamed the email helper class that builds the email table to setTableBody 2017-08-20 21:47:14 +01:00
e0730d3bf6
added JCB initial API frontend to run backups of JCB components, setup automated backup system with cronjob 2017-08-20 18:52:35 +01:00
ddeb02de74
version upgrade 2017-08-12 19:00:05 +01:00
e003be492c
Fixed gh-108 to insure that all fields get added if multiple zeros are found. Improved the default value options in global config to allow for array of default values. Fixed typo forward slash. 2017-08-12 12:51:28 +01:00
fb7b5027c2
improved the answer for gh-106 to insure the correct form is submitted on compile 2017-08-05 12:28:24 +01:00
7a902d454a
fixed gh-106 to insure the correct form is submitted on compile, also some other minor bug fixes 2017-08-05 12:10:08 +01:00
bd716ae7ef
Stable Release 2017-07-24 04:28:27 +01:00
e074d3b5ce
added Joomla to the header in the readme since it has become know as JCB 2017-07-21 00:38:35 +01:00
f1a054c0e7
Imporved the Adding of Custom Config Fields, added some shields.io icons to the JCB readme 2017-07-21 00:26:48 +01:00
e037d29935
version upgrade 2017-07-03 01:41:25 +01:00
b60803ef7b
added timeago lib to repo for jQuery, and added dates to issue and release info on dash 2017-06-29 23:23:06 +01:00
aceda7bae2
Fixed a bug with the automated update sql that ensured that the sql for new fields gets added. 2017-06-29 22:03:53 +01:00
111aa4a3de
donation info updated 2017-06-28 21:02:04 +01:00
9742991690
improved the dashboard of JCB to include releases and better item display of each issue and release 2017-06-28 11:05:31 +01:00
2c1903508c
added the subform and custom and other fields to the demo 2017-06-18 11:47:10 +01:00
384c403ae4
Add new release with subform field now also available 2017-06-18 08:38:12 +01:00
6e0bcc0ae2
Resolves gh-96 by adding the feature to auto create the update SQL. Also fixes gh-100 Field Length Issue. 2017-06-16 13:38:06 +01:00
3ad9ae8b8f
resolves gh-91 to insure that int and floats are not set as strings in SQL defaults 2017-06-05 21:18:32 +01:00
Dev
5e36ede2ac
fixed gh-85 to insure parameter 2 is an array 2017-05-28 23:44:15 +02:00
cb355feaf4
fixed import of components selection 2017-05-20 09:36:26 +02:00
9b1f111251
fix gh-78 to ensure the field options get loaded in the repeatable conditions 2017-05-08 11:09:24 +03:00
4cead46ac4
Fixed gh-75 to insure the column names are loaded as before. Fix gh-76 by adding more checks to insure that the correct date is used in the getLastModifiedDate method. 2017-05-04 23:34:28 +01:00
25c632065a
updated the readme 2017-04-26 17:30:09 +01:00
ea1edebc05
Resolves gh-71 bug, so that admin views that has no fields are still accessible. Fixed gh-72 to insure all components on Joomla version 3.7.0 works and looks correctly. Please just recompile your components for Joomla v3.7.0 2017-04-26 09:56:17 +01:00
498c75dfcf
Next stable release with improvments and fixes 2017-04-08 22:58:53 +01:00
f39a877db2
fixed double // in file path when exporting a component and its images 2017-04-08 21:52:51 +01:00
7afbb131ce
fixes gh-68 where the wrong name is used in searching for the alias, it must be the table name, and this is not always the same as the view. 2017-04-08 19:52:09 +01:00
6bba258fec
Improved the import feature to insure that we don't have language conflicts with multiple strings for one language. 2017-04-08 14:44:41 +01:00
1cf259a54d
Resolves gh-60 with complete implementation of the language manager/translator feature. Added a purge function the clear unused language strings from the database and unlike them from the related component during compilation. 2017-04-07 21:33:35 +01:00
d113d7b91b
Added the new language feature to the export and import of Components, so that their related translations can also be linked to the exported package. 2017-04-06 22:40:22 +01:00
dev
2f90f9359c
fixed typo 2017-04-06 09:51:46 +01:00
dev
b1d9b672ab
Added the global switch to set the percentage a language should be translated before it is automatically added to the component during compilation. Force language to be added when the debug lines are set to be added. 2017-04-06 09:47:51 +01:00
dev
d9b2e51f8c
Fix redirect during creation of new language from translation view. 2017-04-05 21:14:29 +01:00
dev
2caaa1a1e3
added the translation to the component view, also adding lang tags of ready translated languages 2017-04-05 17:26:17 +01:00
dev
1b3cb2bfdd
fixed the search in translation view 2017-04-05 16:21:56 +01:00
dev
5a6ef33c5b
removed button for now 2017-04-05 15:07:48 +01:00
dev
34d14ed95d
gh-60 language translation component added, basic implementation 2017-04-05 14:21:10 +01:00
dev
f3f91f492f
added the UI for the new Language Manager gh-60 2017-04-03 11:58:41 +01:00
bd0febd92c
Resolves gh-63 to prevent repeateble field from being created a second time. Resolves gh-62 to insure full encryption of JCB packages. 2017-04-01 15:59:54 +02:00
b294af2e7d
Stable release of component mapped export and import feature 2017-03-31 23:39:20 +02:00
82fd08cf57
Resolves gh-59 the repeatable field id problem. Also improved the export and import to insure snippets and linked admin views are re-mapped on import of the component. Also fixed the target and match field conditions in admin views to re-map the ids correctly. 2017-03-31 23:28:16 +02:00
5dc3f97f15
Export any component completely mapped in JCB and import into another JCB with owner control 2017-03-31 10:18:33 +02:00
cca07258d6
Added owner and key control to export & import of components, also added buy and package link building to global options gh-53 2017-03-30 23:19:12 +02:00
f61bb46073
Resolves gh-53 with stable export & import of fully mapped components. Key export & import encryption and forced update switch, with error and waring messages has been added. 2017-03-28 16:57:59 +02:00
8b522f44d9
Further gh-53 implementation of the export and import of complete components as JCB packages. Fixes gh-56 2017-03-27 14:38:51 +02:00
63b1bac955
Expanded the export feature of gh-53 to bundle the data into package. 2017-03-21 00:07:14 +02:00
dev
cfd9b33b30
added the custom code search and more to gh-53 2017-03-19 00:55:34 +02:00
dev
952d26f1f8
added the getData method of the component smart export feature 2017-03-18 22:17:15 +02:00
dev
b0ad2ddffc
Added the basic code for controller and model for gh-53 2017-03-18 13:16:07 +02:00
7534aed01d
Fixed #54 2017-03-18 04:53:27 +02:00
28198e9b9e
Next stable release 2017-03-12 14:23:42 +02:00
dev
3953df845c impoved the request linking options, fixed few bugs in compiler (#52) 2017-03-08 06:49:54 +02:00
ro-ot
30e37dcfde
Improved category integration, adapted the fields generator to allow one field to be used multiple times in the same view 2017-03-06 14:08:12 +02:00
bc9e5495d7
fixed #43 to insure fields are sorted in the correct order. Added the noticeboard to the compiler page, to insure all our notices gets viewed by all those who use the JCB 2017-03-03 23:53:18 +02:00
4d47f8292f
added another fields to admin view to target list controller and model. Also improve compiler to add these new custom script to correct areas 2017-03-02 02:55:04 +02:00
a1ff74f157
Resolves #43 to insure that fields are sorted by tab once save, thanks to @Peeripapo 2017-02-24 16:57:40 +02:00
dc1217e6d1
Resolved #42 to insure the strpos always returns the correct data type. Improvements to some of the UI surrounding the custom code area. Added an edit button for the component being compiled on the complier page. 2017-02-23 02:29:37 +02:00
f2e4df6ecb
Improved the custom code by adding the feature that shows where the manual custom code is used, including better placeholder information. Added component information to the compiler view. 2017-02-17 20:35:18 +02:00
a197f503a9
changed component table name to joomla-component to add history/version tracking back to components 2017-02-16 16:02:23 +02:00
79ab3164a6
few changes in comments, descriptions and fields. Included JS files to custom code engine 2017-02-14 02:33:24 +02:00
290a51dd5a
Further improved #37 to ensure language strings are set and reversed, also add extra buttons to the compiler page. Major restructure of custom code implementation to make it more stable. Resolved #40 by updating the default field sql values. 2017-02-14 01:24:38 +02:00
de008d5907
Stable release of the automatic import of custom code, and the JCB manual placeholder implementation resolves #37 please view https://youtu.be/KiAtJawZ3oo 2017-02-11 04:24:26 +02:00
5b5599575b
Fixes #39 to ensure components are build even if created and modified dates are not set. Improved #37 #issuecomment-278372267 to avoid one line error in windows. 2017-02-09 18:11:10 +02:00
3497de7c28
Changed alias in site-view and custom-admin-view to codename so we can have views with the same names in different components, added warning notice if custom code can't be added, Bug fixes in the demo content dates 2017-02-04 02:22:17 +02:00
e0efef54e9
Implementation of the switches and update the update server. 2017-02-02 14:19:09 +02:00
655708cfa3
Bug fixes, error on compilation when using view date & version was fixed, headercheck file missing was fixed. Added swithces to controle custom import placeholders and if view version and date should be used 2017-02-02 13:54:07 +02:00
1a79b92b07
Added #39 a new feature the imports custom code during compilation. We also improved the compiler. 2017-02-01 15:17:04 +02:00
ea2b2ea4c4
added feature to remove site folder if not needed, also some linked to component tabs to fields, admin views, site views, and custom admin views 2017-01-20 02:16:50 +02:00
b02771762d
improved the linked view option, and added the Linked - Admin Views to each field 2017-01-13 00:38:33 +02:00
0ae4e4f80d
Added #31 feature to build fields and views dynamically via a sql dump. Fixed #29 to insure that a redirect loop does not occur easily. Made many other compiler improvements. 2016-12-30 12:47:19 +02:00