Commit Graph

142 Commits

Author SHA1 Message Date
eae07504fa
Resolved gh-442 to add a default catch all option to the setDynamicField method in the field class of the compiler. 2019-07-15 22:03:57 +02:00
9e6233c64f
Fixed gh-434 to add the missing table path if not set. Resolved gh-427 to allow numbers in the name of a field. Impoved the compiler by adding a method to set the Lang Content array. 2019-07-05 01:53:54 +02:00
b9c758b800
Added context to all compiler events. Added layout fields override options for dynamic field generation. 2019-07-01 19:17:16 +02:00
75656d940a
Added many events to the compiler as the first step to allow 3rd party integration with the compiler via plugins. gh-429 2019-06-22 12:43:26 +02:00
2fb4a1ae43
Improved the getInput method for custom fields, so to allow the edit button to show more consistently. 2019-06-13 23:12:16 +02:00
c966720f79
Few more corrections to the category filter, and field integration 2019-06-09 23:19:34 +02:00
dda33d66cb
fixed the subform build, to allow required value to be set to true. 2019-05-25 22:20:12 +02:00
a23f1fe79a
Fixed gh-394 so to be able to target the component instead of a single view. 2019-05-06 03:05:15 +02:00
a5de53c5fa
Resolved gh-384 to enable category and any other field that inherit from the basic list type to be able to have options added. 2019-03-05 09:51:52 +02:00
098c82c222
fixed gh-383 to insure the new button works on frontend/site. Improved the JCB package import to also now import the new placeholder feature values correctly. 2019-03-04 14:50:46 +02:00
25c14b45de
Added the new placeholder area for global & component level placeholders. Just like customcode you can now with the placeholders generate dynamic behaviour with placeholders all over the JCB custom areas. 2019-02-16 00:03:37 +02:00
4e2c51c303
Resolved gh-360 by adding the blob data type as an option for data types. Resolved gh-362 by adding the nested subform compatibility to subforms in JCB. Resolved gh-365 by improving the customscript validation search of save of custom code area. Added email validation to the email helper script. 2019-01-14 17:41:49 +02:00
6c4bab5ea9
Resolved gh-323 so we can load fields only in the linked or admin list views or in both. Added the option to also add permission to access fields. Improved the checkArray method to return arry count value. Fixed issue in field permissions when the value is and array, field type can not be made hidden, but should instead just be removed. Fixed an issue in the code search methods to insure all areas are looked at, and search and export. 2018-10-29 18:38:00 +02:00
d7665fe88d
Improved the custom-custom field implementation, to allow duplicate fields to be use in sub-forms and in same form/view with the correct expected behavior of incremental naming, only if in same sub-form or form/view. gh-341 2018-10-01 04:16:24 +02:00
9285f0a2b1
Little fix to the field builder in the compiler 2018-09-25 22:51:14 +02:00
73d383c755
Resolved gh-345 by adding whole new mysql table selection options in the admin view, under the mySql tab. Fixed the folder & file loader. Fixed the Update of custom files, so even the custom code and external code placholders will work in external files. Update all tables in JCB to use InnoDB Engine, utf8md4 Charset and utf8mb4_unicode_ci Collation. 2018-09-25 22:02:48 +02:00
6ad253be44
Resolved gh-341 that adds the feature to expand the custom field option far beyond the default. Moved the menu prefix option in to the Joomla component area -> tab -> Settings to allow each component to override the global setting. 2018-09-24 16:37:51 +02:00
2a6be54317
Adapted the custom buttons and layout in the components, admins and libraries views. Fixed a bug in the JCB package import that missed custom code imports when code is changed inside the custom code. 2018-08-19 22:15:43 +02:00
103457eef7
Futher improved the redirect option to use return and stack the return path to take the user back to the original area from where they clicked away. 2018-08-18 14:09:17 +02:00
6dd654c745
Improved the Admin Fields Relations area to allow more custom coding without the need of selecting Join Field/s. Improved the dynamic get string fixing implementation to avoid conflict when the same field name is used in multiple joined tables requiering string fixing. Fixed gh-322 to insure ID is always readonly even if override detected. Added new feature to control access and view/hide control per/field. 2018-07-21 09:10:37 +02:00
0a7b91829f
Fixed gh-318 so that default and other none database fields will not trigger SQL update and version increment. Fixed gh-317 that had conflict variable naming in the jsonToString helper method. Improved the refresh method for JCB package area. 2018-07-12 18:35:38 +02:00
a9a0952ff3
Added a global editor switch for all editors in JCB, the default is none. gh-305 Added two new fields to the admin view to target the getform method in the model. 2018-07-06 15:46:30 +02:00
f7be7ddad0
Resolved gh-287 that adds the feature to join/combine results of multiple fields in the admin list view. Update the tab string to make tabs dynamic in nature. Imporved the compiler building of the admin list view 2018-05-26 12:03:08 +02:00
fef3460772
Refactored the compiler list view body builder, in preparation of the relation fields. Added more options to the relation admin fields. gh-287 2018-05-24 15:58:48 +02:00
2543d11277
Updated compiler to allow dynamic update for language strings. Started adding the field relationship feature requested in gh-287 2018-05-22 21:01:55 +02:00
8488392fac
Update the header details in all files 2018-05-18 08:40:07 +02:00
e04db1b5b2
Added the email field type to resolve gh-283. Fixed the CSS inclution error to resolve gh-278. Added the option to add sql_uninstall dump value to a component. Did some class formating on the compiler. 2018-05-11 06:08:14 +02:00
8b4efd640f
Fixed the subform to allow encryption of values without data lose. 2018-04-30 14:06:05 +02:00
0857101371
Tweaked the field database area to insure that users are forced to set the database values 2018-04-23 02:42:41 +02:00
694612aff9
Urgent fix to the fields area to address the extra field options, and fields with 0 being removed. Added the option to add a field and not add it to the database, so it will show in the edit view but will not be stored to the database. This is to use javascript/php to use that field value, and then drop it. 2018-04-13 17:24:06 +02:00
10fdac5d60
Improved the field builder around JCB, moved some xml function into the JCB helper class core 2018-04-08 08:12:18 +02:00
5d3a68b448
Added the return value if external component is detected in custom field gh-255 2018-04-02 21:45:52 +02:00
af1e76d21e
Made further improvments to the dynamic button to list fields 2018-03-30 09:58:24 +02:00
07662a8a8b
Fixed gh-255 to insure that the correct component name is used when building the button on the edit view where the custom field is used. 2018-03-30 06:41:33 +02:00
4e740f568e
Added the option for automatic alias building, resolve gh-246. Made improvements to the buttons all over JCB, and the tweaked the field view a little more. 2018-03-28 11:46:14 +02:00
0ba2a0e8cf
Added validation rules resolve gh-254. Removed empty sql files. Improved the field area. 2018-03-27 11:57:16 +02:00
ce200d2b7c
Fixed error that caused set placeholders method to break in the compiler 2018-03-18 23:07:18 +02:00
de2d957141
Did some formating to the code of the compiler 2018-03-18 06:52:07 +02:00
42ae72d97e
Added string manipulation back as a field building method, to insure JCB always works well accross shared server invironments. We did not remove the SimpleXMLElement method, but kept both options with a global selection option and internal error handeling. Resolved gh-197 2018-03-18 06:28:54 +02:00
e715fa1614
Made some changes to insure JCB is stable in PHP7, removed the related translations string from joomla_component view to speed up page load. 2018-03-12 00:36:14 +02:00
ee949fbe6e
Expanded the automatic DB update feature, to insure that any changes to a field name/datatype/lenght will now also create a DB update, resolve gh-241 2018-03-11 04:44:43 +02:00
417076243d
Added medium enencryption and added an over all improvment to the encryption implementation. Added extra security to EXTERNALCODE feature that only allows admin to make use of this feature. 2018-03-06 05:03:44 +02:00
1b86f1539a
Fixed gh-235 to insure that the public access switch for front-end views work. Resolved gh-236 to Auto save Name to System Name if blank. Added text area for private key of server. Fixed the getModel helper method. Fixed the batch methods. Maked a few tweaks to the compiler. 2018-02-27 14:17:38 +02:00
61a8d6fe3f
added a switch to insure that one of the custom fields of the same type are seen as the prime field, so to insure that its PHP values over rule all other 2018-02-20 23:23:35 +02:00
e6466474b1
Fixed missing placeholder strings for views in compiler 2018-01-19 12:27:47 +02:00
d3cbea5c82
Major code formate to try and set a standared. Added four new fields for JavaScript files 2017-12-15 02:01:33 +02:00
95716e22cf
Updated the compiler to also target JText::script() & Joomla.JText._() in language constant replacement. Added field counter. Resolved gh-198 2017-12-14 15:30:44 +02:00
d37b0d367a
Added Tidy warning to compiler and workaround so that the compiler can still work without the Tidy extension Resolved gh-197 2017-12-13 00:17:02 +02:00
f900f65baa
Renamed the uikit lib folders. Resolved the gh-188 by updateing the note. Resolved gh-92 by implementation of the library manager in the compiler. 2017-12-10 21:17:26 +02:00
b60d208d9e
Merge branch 'staging' into decouple_libraries 2017-12-05 13:25:43 +02:00
87ba078dc8
fixed unintended formating. tweaked functions. resolved gh-189 2017-12-04 16:56:18 +02: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
efde286a1b
Added Uikit3 to JCB in response gh-92 2017-11-11 06:33:51 +02:00
c30e6308f1
fixed gh-167 so that config fields can be safed 2017-11-04 14:37:13 +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
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
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
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
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
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
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
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
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
34d14ed95d
gh-60 language translation component added, basic implementation 2017-04-05 14:21:10 +01: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
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
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
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
33f3bb5652
Added lots more demo data on Github to help demonstrate the ease of use. Adding feature to insert custom scripting during install. Adding easy issue tracking, and member notice board. Many bug fixes, to the compiler and general improvements. 2016-10-24 00:48:26 +02:00
a7e641b499
Added another PHP field to the admin views, improved the custom code methods in the compiler, and fixed some permissional errors. 2016-09-03 22:44:47 +01:00
f76587361b Fixed #14 the sql field type build method 2016-07-17 11:24:51 +01:00
2004b8d91c Made some improvements to the compiler and extended the email helper features. 2016-06-23 16:05:37 +01:00
5d19f46070 Added the option to overwrite the default-fields, so you can add them to the list view in admin area and change their layout position in the edit view. Also fixed some minor bugs. 2016-06-02 17:18:49 +01:00
d2aa1fce0b Improved the custom import option to include the display method override. 2016-05-20 06:00:31 +01:00
3b774a8385 This fixes #3 to insure that custom/other Data Length/Values can be set. 2016-05-12 02:26:54 +01:00
ee2fea1db8 Updated the readme file. 2016-05-10 06:47:47 +01:00
e21980bbea Added editing feature to custom list fields and improved the buttons to great and edit the list values. 2016-05-07 00:41:41 +01:00
80670beada Change the field name form type to fieldtype in the field view. 2016-03-04 02:01:43 +02:00