Commit Graph

714 Commits

Author SHA1 Message Date
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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 8c2618b691
Added github help files 2017-11-21 16:28:03 +02:00
Llewellyn van der Merwe e652d5b5b7
Added a fix to insure the contributor details are added to JCB original snippets. 2017-11-21 13:27:53 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe dece9016ba
Started with the bulk option to get snippets @ro-ot 2017-11-17 19:51:35 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 1cc40dbfe4
updated Uikit v2 2017-11-12 02:33:10 +02:00
Llewellyn van der Merwe 7d27af5d59
Added snippet types and libraries to snippets 2017-11-12 00:18:13 +02:00
Llewellyn van der Merwe efde286a1b
Added Uikit3 to JCB in response gh-92 2017-11-11 06:33:51 +02:00
Llewellyn van der Merwe 48d821628d
Resolved gh-179 to unset fields that may not be in some DB's 2017-11-10 04:13:36 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 6b52f7ce1d
Fixed the version number in the readme, also update the hello world tutorial. 2017-11-06 16:18:06 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 9e6c93a51e
Added FTP field type back to core, resolves gh-173 2017-11-06 15:48:44 +02:00
Llewellyn van der Merwe cf32d2c97f
Few bug fixes in the compiler and the component config area 2017-11-04 15:06:59 +02:00
Llewellyn van der Merwe c30e6308f1
fixed gh-167 so that config fields can be safed 2017-11-04 14:37:13 +02:00
Llewellyn van der Merwe 87de251f2e
Resolved gh-165 pagination issue thanks @kevincam3 2017-11-03 23:57:15 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 805398e1a1
fixed the update link 2017-10-31 04:34:25 +02:00
Llewellyn van der Merwe 3d6fb89adb
Resolved export issue that dropped the layouts, and did not export them. 2017-10-30 22:01:34 +02:00
Llewellyn van der Merwe 5553e2b822
removed linked components from admin views. 2017-10-30 21:19:39 +02:00
Llewellyn van der Merwe 306a9b9613
updated the compiler to first check if array values is set 2017-10-30 20:50:56 +02:00
Llewellyn van der Merwe ccb3f09a34
Major Upgrade to version 2.6.0 2017-10-30 15:41:47 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe ae3dedf0d0
Adapted the importer of JCB packages to now work with the new joomla component changes 2017-10-29 18:07:37 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe 18946f8ef6
fixed copy error and undeclared variable in ajax.php 2017-10-26 23:11:52 +02:00
Llewellyn van der Merwe 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
Llewellyn van der Merwe 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
Llewellyn van der Merwe a19b410adc
Stable Release To Upgrade https://youtu.be/YaycQcsMpOs 2017-10-21 01:53:13 +02:00
Llewellyn van der Merwe d6965f304c
Fixed JCB package Import. Fixed snippet display in site view. Imporved export of JCB packages. 2017-10-20 18:17:46 +02:00