Commit Graph

260 Commits

Author SHA1 Message Date
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