Commit Graph

318 Commits

Author SHA1 Message Date
78208d1525
Fixed the compiler to allow edit views be build even if no other site views are set. Removed all the depreciated joomla jimport statments. Update the getModel method in the controller. Updated the getRedirectToItemAppend, cancel and save method in the controller to also use the return value if internal. Added the addTablePath to the getTable method in the model to insure table is found when called from outside the in another component. Updated the diplay method in the JViewLagacy class to also use the return value if not null. Updated the component core to use JAccessExceptionNotallowed instead of JError::raiseWaring when user not have access to core. 2018-08-07 14:25:26 +02:00
f5c6fa899d
Added a fix to prefent language strings colliding on compilation. Added the option to use []+, in the custom code arg values. Added easy debug option for the setDynamicValues method in the compiler. Fixed the editor issue in the fields view. 2018-08-02 07:36:47 +02:00
812857da81
Fixed gh-324 that had a typo with the storing of the PHPx values. Improved the safeString helper method 2018-07-23 04:53:59 +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
b42a3a5420
Fixed issue that cause the WHMCS implementation to still not work 2018-07-10 17:09:21 +02:00
2cf6f6ab11
Added notice to the compiler when the WHMCS class could not be added to explain why. 2018-07-09 01:17:04 +02:00
21254738a8
Fixed the sql dump import issue that broke when import values not set correctly. Made more corrections to the whmcs implementation. 2018-07-09 00:49:50 +02:00
0ca49414d2
Fixed gh-315 to insure all the WHMCS features work as expected 2018-07-08 22:19:01 +02:00
1a19a510dc
fixed line spacing in getform method 2018-07-06 17:56:29 +02:00
769e31061c
fixed line spacing in getform method 2018-07-06 17:52:24 +02:00
69d358ca06
fixed line spacing in getform method 2018-07-06 17:47:27 +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
568ff0ff9c
Fixed gh-303 to insure that the export data headers are set 2018-06-21 16:27:38 +02:00
0c7d7265dd
Improved the table detection in the mapping of the extrusion class when building table/fields from mysql dump 2018-06-15 15:31:23 +02:00
01149bfb7c
Mode some improvements to the new relation area. Fixed the notice message regarding the linked fields. 2018-05-31 12:31:44 +02:00
640c96ce38
Little tweak to speed up the tab/space method 2018-05-30 13:40:25 +02:00
a7c3a6e8f2
Fixed the javascript in the new relation area. Fixed gh-294 that hade count not array errors. Added the option to over-ride the column name in the new relation area. 2018-05-29 05:45:16 +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
f7eabbbf35
Fixed the email helper class to match the custom global field value. Removed the spinner from export data option in the language translation area. Fixed the dynamic dashboard to be able to check if the view was found in the component. Updated the readme to reflect the new terms of gaining access to demo content. 2018-05-17 03:04:16 +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
8b8b42ae8f
added the option to remove or add a custom prefix to the Joomla admin menu name of your component @cpaschen 2018-05-03 02:26:52 +02:00
f200e635b8
improved the table method generateAlias to only get added if there is an alias in the view 2018-05-03 01:26:41 +02:00
e905aa895f
Fixed gh-272 by updating the table method generateAlias to also make use of the custom alias builder values. 2018-05-03 01:12:06 +02:00
2f4f9ff0a3
improve the method to detect that it is working with another component, and so tell the method to also look outside the current scope (component) 2018-05-02 23:59:01 +02:00
88dbcee380
Added the community JCB package import option. Improved the jsonToString method to be more dynamic 2018-05-02 00:19:42 +02:00
8b4efd640f
Fixed the subform to allow encryption of values without data lose. 2018-04-30 14:06:05 +02:00
cec566176d
Fixed admin_fields_conditions edit view to insure an array gets given to the count function 2018-04-27 15:45:50 +02:00
47d1a6c155
Added the feature that allows you to setup the behaviour of a selected set of components that will be auto build and installed. So you do not need to manually compile and install those components any more, the system does all that automatically for you. We have called the feature Expansion Development Method, and it can be set in the global settings of JCB under the Development Method tab. 2018-04-25 00:36: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
4b57e69edb
Improved JCB to now be able to have other languanges then en-GB as its base/main/global language. This will allow you to build your components in a language of your choice. 2018-04-20 01:36:49 +02:00
d1813147d3
Added edit links to templates and layouts. Fixed the alias and title selection issue in admin fields area. Added all available languages in Joomla to language area. 2018-04-19 17:52:47 +02:00
48a3a49d6f
Added minify of JS to the compiler area, also improved the infusion area to make more use of the getCustomScriptBuilder method 2018-04-18 21:11:14 +02:00
98448b24b7
Fixed the Add JavaScript (views-footer) option, since it did not add the javascript, but now does. Also added some spinner to the Joomla Components view. 2018-04-18 14:03:07 +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
802554e7a9
Fixed line break error in JavaScript building area, also added little notice in field area to select field type. 2018-04-11 22:53:11 +02:00
6d4c823ea6
added a wrapper for the bcmath functions, so there will be a (basic) fall back if those functions are not on the server 2018-04-08 23:20:33 +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
65e0a19dee
Fixed the edit-view for front-end to insure ajax also gets moved to site ajax. Also updated the UIkit notify to target uikit2 convention. 2018-03-30 03:29:24 +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
4f7ddcefe7
Added checksum validation for VDM packages and improved the JCB package import area 2018-03-24 03:36:07 +02:00
1c8129eec7
Fixed the linked to feature to also detect fields linked to subforms and repeatable fields 2018-03-20 04:35:48 +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
eb56fd3b48
Moved the php script for customGets to better inserting location, as explained in gh-239 2018-03-11 22:57:41 +02:00
0deda0a71c
Fixed the the dynamic get compiler methods so that the getcustom/s custom PHP scripts gets added in the correct places, fixed gh-239 2018-03-11 19:03:31 +02:00
1991a46689
Fixed the getFieldName method to always fall back to global name if none is set in the xml. 2018-03-11 04:59:46 +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
de14f5d422
Added some error handeling in respons to the gh-148 issue, to help insure we know why the dynamic dashboard did not get added 2018-03-10 03:50:09 +02:00
34efe32002
Added the feature to use admin and custom admin views as the dashboard of the back-end of a component, requested in gh-148 2018-03-09 05:29:05 +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
a39289ac9c
Added feature that will allow custom icons on the dashboard of component to use custom links - resolved gh-240. Tweaked the compiler messages. 2018-03-05 02:13:42 +02:00
836df43fcc
Improved the JCB package export/import feature to insure that the new full paths are also moved, also made a few bug fixes in this area to better deal with divergent data id managment 2018-03-02 03:37:04 +02:00
593a4c7c89
Fixed gh-237 passing th 4th value as zero to insure the onContentPrepare method signature match. 2018-03-01 16:49:04 +02:00
2724274896
Added crypt method to helper class, and fixed the std folder array issue 2018-02-28 05:03:19 +02:00
7f3dae297a
Moved the composer vendor folder to libraries and removed it from the admin/helpers folder. Improved the dynamic folder include concept. 2018-02-28 04:27:03 +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
17195cd059
Adapted the server implementation to more reusable object, added more permission control. Resolved gh-230 by adding the full shtp integration 2018-02-19 14:52:08 +02:00
e857614608
Added the update_server.xml back, and fixed the compiler to insure it does not get removed again. 2018-02-18 01:11:05 +02:00
c3156642b2
Added more security to the composer vendor folder. Added the SFTP get helper classes, and adapted the compiler to use SFTP 2018-02-18 00:47:01 +02:00
9e27cd0e3a
Fix the compiler path in component xml, that was dropped due to new advance folder & file improvment 2018-02-17 00:35:17 +02:00
c7551c6edd
Added the phpseclib librarie for ssh/ftps server protocol as explained in gh-230. Extended the Component Files & Folders concept to allow adding files and folder from anywhere where PHP/Apache has permission to read, resolved gh-231 2018-02-16 23:53:43 +02:00
0c798d9579
Started with the first adaptation to implement the ssh protocol as mentioned in gh-230 2018-02-15 02:43:07 +02:00
655bf3b0b9
Added more validation and started adapting the compiler for JText replacment 2018-02-06 12:55:46 +02:00
c8af1befe4
Changed from onlinecode to externalcode 2018-02-03 02:13:48 +02:00
765e8cc899
Added more checks to the onlinecode methods 2018-02-02 19:36:22 +02:00
8b3528d0a4
Added fix to insure that online code feature also functions in custom code area 2018-01-31 16:27:17 +02:00
137bde87a4
Updated paypal link in readme. Added new function to include code from online source url. 2018-01-31 15:35:54 +02:00
1c20e2ef8b
Added Dynamic Router Implementation to resolve gh-74 2018-01-24 00:05:57 +02:00
e6466474b1
Fixed missing placeholder strings for views in compiler 2018-01-19 12:27:47 +02:00
a310efaf61
Removed some duplications in the compiler 2018-01-18 04:20:20 +02:00
f692e573f6
Fixed the compiler to insure the getExImPortHeaders method is added even when no custom script has been set 2018-01-18 01:28:44 +02:00
189a8723ac
Added easy translation export and import feature, to allow translation to be done via an exel spreadsheet 2018-01-18 01:14:43 +02:00
98510ae504
Added (Linked To) back in related areas, so we can see where what is linked. Added ajax fields to the custom admin view. Added some backward compatibility to stylesheets and scripts being added, resolved gh-217. Fixed gh-212 no access lang string. Added the site CSS area to Joomla Component view resolved gh-216. 2018-01-15 17:54:05 +02:00
8367e633c8
Fixed gh-206 to insure that the placeholders are replaced on compilation 2017-12-29 13:20:14 +02:00
7c7a0151b9
Added new JCB domain and email address to further pave the way for the JCB community. Improved the support info. 2017-12-27 05:45:35 +02:00
98a5803faf
Added auto versioning to all JavaScript and CSS fiels being added, to insure it reloads when there is an update. Resolves gh-203 2017-12-22 21:46:03 +02:00
26050c771a
Fixed the links of folders in libraries, added another note to libraries, started with linked to ajax functions. 2017-12-17 11:21:34 +02:00
e44b6bc272
Continued formatting of JCB code 2017-12-15 03:10:10 +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
258f7441d7
Resolved gh-194 to allow for [close & New] Button in linked views 2017-12-12 15:18:27 +02:00
ba07f1aae3
only add media if path is one value 2017-12-12 02:41:24 +02:00
27ff09226b
execution order fix to insure folders are loaded 2017-12-12 02:28:35 +02:00
5870f54900
Fixed some typos resolved gh-196 2017-12-11 13:18:33 +02:00
94175a4725
Resolve gh-181 to insure all urls added to xml is converting special characters with htmlspecialchars. 2017-12-10 21:20:29 +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
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
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
efde286a1b
Added Uikit3 to JCB in response gh-92 2017-11-11 06:33:51 +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
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
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
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
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
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
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
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
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
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
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
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
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
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