Coder Social home page Coder Social logo

tablefield's People

Contributors

oriadam avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

tablefield's Issues

Translation utility

Original author: [email protected] (May 19, 2011 17:49:44)

Create a utility that makes translation of a new language easier.
The flow:

  1. Select Language
  2. A list of all strings will be listed in a 2-row table. The original strings on the left, in gray. The translated (if available) in blue on the right, editable with a click.
  3. Strings which includes vars on the original but not on the translated, or visa versa, should be red, with a small icon+title to indicate this problem.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=12

TFType Field Class: AssocArray

This class should implement support for custom string fields in a single field value.
To allow implementation of the custom "vars" of every field.
Should also support predefined list of vars.
OMG it's like a small TF inside a single field!
Not working yet - need to test.
Future - add the option to add and edit new text parameters on the spot.

Security Expert Review!

Original author: [email protected] (March 08, 2013 20:45:51)

Have a security expert review the code.

Prevent direct calling of include files.

The entire security system is based on the session variable $_SESSION[$tf['db.pre'].'USER'] -- user group.

Login: Penetration testing, session hacking and hijacking.

SQL query external-values validation - change to "prepare" when available?
It'll be a great idea to use sqlRun() as a 1-line prepare->exec shortcut.
Problem - xkey and similar types supports bare-sql expressions, which can never be a good thing... at least they are checked using sqlbalanced().

sqlbalanced() review.

POST processing abuse in all pages that process POST:
auth tfHandleLogin() , tfadmin.php, tftedit.php, tfinstall.php, tfconfigure.php.

Downloading custom/dbconfig.php would be catastrophic.
Is there a safe way to encrypt it?
Plus review ways to prevent accessing it, allow only includes of this file.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=37

Remove comments and actions from tfinfo table fields

These fields are rarely used...
So use params for it instead.
This way you can add 'prefix', 'postfix', 'prefixnew', etc...

Hmmm... When AJAX layout is ready and form input handling is moved into TfTable class I could actually implement it on the spot, no iframe needed!
But for the time being - iframe it is...

Business model

Original author: [email protected] (March 07, 2013 22:37:43)

As a service (like wordpress.com)
Every user translates into a unique db.pre
no no no for security and control reasons it's better that each user has their own database.
Maybe offer a free shared Database versus paid unique one?
In any case need to give the service freely to personal use (not academic! they might host a million records. On second thought, there's a record/size limit for the free version)
Need to find a way to limit each database size and resources.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=36

Database templates to download

Original author: [email protected] (March 06, 2012 02:10:03)

To the installation wizard add the option to download ready-to-use database templates such as 'dating website','lectures management','volunteers management' and so on.

Add these templates both to be selected from the wizard, and available to download from http://tablefield.com/templates

The wizard should connect to tablefield website to get the list of templates and read the specific template.

The templates are actually just SQL export file with CREATE TABLEs and INSERTs.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=22

tfconfig review

Original author: [email protected] (May 19, 2011 18:23:27)

Make all configuration keys in "context.option" format (ie "ui.rtl"):

  • Move DB values out of Array and into cohesive "db.user" format
  • Move $DEBUG global param to "notifications.debug" config option
  • Move table names to "tbl.info" format
  • Move login screen options to "login.pagein" format
  • Move "imgdir" to "url.img"
  • Move "refprefix" to "url.rel" as relative location marker for the site root
  • Move "dirprefix" to "path.rel" as relative location marker for the site root
  • Add "url.base" and "path.base" as the base path for urls and inner paths (will it replace "url.ref"/"path.ref" eventually?)

On the Configuration Utility:

  1. Add a $tfconfig_desc array with short description of every option
  2. Add a $tfconfig_defaults array with default values (when applicable) so it could highlight the non-default ones.
  • Note: The errors strings should be handled differently and using the regular translation utility, with the correct context.
    Another issue will be opened for it.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=15

Redesign tftedit.php Legacy TF manager

Original author: [email protected] (March 09, 2013 05:43:37)

Move 'indexed' to 'Default sort by'
Move 'Display order of fields' and 'Searchable' to 'Labels and ename'

Strict ename to a valid one with [a-zA-Z0-9_]

Redesign (make it simple and intuitive) 'permissions screen' - use TfTypeenums so one could select/deselect groups.
Add borders here to make it more easy to see.
If it works ok - drop the mass-fill thingie.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=39

List classes - reorganize

Original author: [email protected] (March 10, 2013 03:53:42)

  1. Do not touch TfTypeenum or TfTypeenums - they are ok as is. Just add some UI widget to them from params.
  2. Set up a good basic list class
    With populate_values function, and optgroups
    Supports either simple list of values or sub value=display%20name pairs (use %2c to put a comma ,)
  3. Set up a good basic multi-list class
    Remember to apply 'okmax' when calling jquery extension.
  4. Set up a good suggested list class
  5. Set up a good suggested multi-list class

Use only <select>
Add class=grid or class=whatever to change the select list later with jQuery, for example:

$('select.multiselect').multiselect();
$('select.multipleselectbox').multipleSelectBox();
$('select.selectlist').selectList();
$('select.selectable').each(...change to li?...).selectable();
$('select.grid').selectable();

Recommended:
http://plugins.jquery.com/jQueryMultipleSelectBox/
http://dl.dropbox.com/u/8316573/index.html#

http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/#filter

http://jqueryui.com/selectable/#display-grid

http://odyniec.net/projects/selectlist/examples.html

Original issue: http://code.google.com/p/tablefield/issues/detail?id=44

Documentation: Usage for Admin and End Users

Original author: [email protected] (May 19, 2011 17:25:41)

Documentation for End Users who will eventually need to update the database.
It should be a DOC (or RTF) that can be update by the administrator.

Also include a more thorough documentation which includes permission editing, for the webmaster.

Did you get the difference between the webmaster and the admin?
The admin is a kind of End User of this system.
It may be the same person, but in many cases it won't.

Original issue: http://code.google.com/p/tablefield/issues/detail?id=10

Authorization system

Original author: [email protected] (September 06, 2011 19:00:33)

The authorization system (auth.inc.php) needs to be reviewed...
Should support the following features:

  • anonymous login - tfconfig setting option auth.anonymous: when true, allows users to connect as the anonymous user without a password.
  • customized login functions should be somehow supported from custom/auth.inc.php.
    The auth.php file should automatically check for user connected.
    The auth.inc.php file should include all functions that auth.php is using (to allow custom files to rewrite these functions or use them in other places).

Original issue: http://code.google.com/p/tablefield/issues/detail?id=19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.