tina4stack / tina4-php Goto Github PK
View Code? Open in Web Editor NEWTina4 PHP composer repository
Home Page: https://tina4php.com/documentation
License: GNU General Public License v3.0
Tina4 PHP composer repository
Home Page: https://tina4php.com/documentation
License: GNU General Public License v3.0
For Mysql, when there is an error in the sql syntax, it crashes the migration, rather than returning an error. It is failing on line 44 of the Tina4Database DataConnection.php. Called from line 25 in MySqlExec
This is currently breaking the CMS and associated sites unless there is a physical change to an older tina4hlper.js
for reference the commit is 36f9487
:)
using the @example object for GET api endpoints breaks the swagger curl. Need to create and @responseexample tag to enable and example object to be provided in the swagger example field for API endusers to understand what will be retured from a GET.
Context:
While I understand that CRUD is meant to do maintenance on a single table, when creating the CRUD for a linking table, just having ID's is not easily readable.
Problem:
It is easy enough to modify the CRUD code to add in a lookup table that allows a drop down for the fields, and allows them to replace the id in the grid form. However this then breaks the data table search and sorting feature as Tina4, when creating the search filter presumes that all fields are in the ORM table. The offending line on CRUD.php line 336 will give some insight as $tablePrefix is always t.
Solution:
It would be very useful for lookups to be available in CRUD, but requires a rewrite of the getDataTablesFilter(), and some other places. Please confirm, we can move in this direction and we can look at getting this fixed. Thanks
I think there is a bug in Tina4. To replicate, create a new project with a mysql database. The first migration/create fails on line 62 of DataResult.php as it tries to count a null (there were no records) . I am not going to put in a fix, as I am not sure where you want it changed in the DataResult or in the DataMySql. Hope I am not wrong, but I have spent some time on it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.