Menu

[f1bb48]: / doc / TODO.md  Maximize  Restore  History

Download this file

183 lines (160 with data), 8.6 kB

phpMyEdit TODO list

  • Supported platforms upgrades:
  • support for CSS3, eventually make it bootstrap ready
  • use html special characters instead of ascii art
  • move js extension to js file instead of generating inline
  • support for responsive design
  • support latest MySQL and MariaDB
  • place sections in div elements so they can be embedded more easily in
    other projects

  • standard formatting and structure of multiple files and folders:

  • add SPDX-License-Identifier: GPL-2.0-only

  • integrate sub-components in (new) repository

  • integrate documentation generation inside main repository
  • support for extension compatible file generation

  • at some point in the far future, move to PDO database connection and
    support even SQLite and PostgreSQL

  • fix issues

  • when adding a record with an optional integer record, do not create
    sql statement for the integer field when there is no value assigned
  • when change/delete/view buttons are disabled, and selecting a record,
    the buttons should be enabled again
  • regression: when viewing record, sometimes the change button is
    disabled
  • blob should present upload/download, not multiline edit
  • maximum length of text fields is not set
  • sorting of blob and json fields should be disabled by default
  • formatsource on mac is generating backup files for some files as sed
    is not coping with some character strings that it is processing
    Current workaround: format source on linux machine or delete generated
    backup files
  • custom navigation buttons with custom JS do not work
  • fix calendar extension
  • when resubmitting same form by doing page reload, data should not be
    saved twice
  • when going through post event, extension pageinit call is not taking place
  • incorrect key_type when generating primary key on string
  • ellipsis symbol (when trimlen is set) is not decoded if field contains
    quotes

  • enhancements

  • allow to insert a new sub-key in drop down boxes by adding extra features
    in the configuration options
  • support for geometry field
  • support for generated (and virtual) columns
  • allow to display a different value in list view for drop down fields
    now edit view and list view are identical
  • disable pagetitle field when none of html header or pageheader are set
  • do not overwrite file if already exists if not explicitely requested
  • allow files to be generated in sub-folder
  • when graphical action buttons are selected, the search, query, hide and
    clear buttons should be graphical
  • when displaying all records, do not display page navigation elements
  • search should not be available if no records in set
  • when name of field is rowid, change it to ID for display
    when name of field is password, use password type
  • comment on column should generate hint field
  • filter on enum or set is not possible
  • pme_changelog stores date value as blob, it should be more intelligent when
    storing value
  • implement column totals
  • add support for virtual fields
  • textarea field should not be sorted by default

  • change SQL table aliases from "TableN" to "phpMyEdit_table_alias_N" or
    something similar

  • done with "PMEtableN" and "PMEjoinN" for lookup tables
  • filter should be allowed only if $opts['options'] contains 'F'
  • multi-part date handling
  • finish converting date handling to internal date handling functions
  • abstract date field gathering to get rid of many redundant lines of code
  • there was some kludged fix for dateformat'ting where '%'s are removed
  • better support for more date format macros
  • better documentation for valid date format macros
  • aggregates - firstly make specification and than implement such feature(s)
  • data validation: expand JS field validation to match JS regexes
  • data validation: create PHP field validation to match PHP regexes

  • do_add_record() triggers - change $vals_ori to $vals and $vals to $vals_quoted

  • $vals_ori changed to $values
  • do_add_record() triggers - make $vals available also in "before" trigger

  • template based control of add/change/copy/view/delete record page; maybe also
    control of list page

  • fix sorting problem when using table lookup with divs (separator)

  • if picture/text links enabled, use texts for filter/search/hide buttons

  • fix this: 'filters' option works fine, but when there is column with the same
    name in main table and also in join table, it must be prefixed by table alias
    (TableX.); prefixation with table name of course does not work; maybe note
    should be added into this option to use aliases, because this is difficult to
    fix without CPU expensive SQL parser

  • reimplement actionStyle to have possibility specify where you want navigation
    buttons (up, down or both) and/or image/text action links
  • implement repeating save in change operation (after repeating save is change
    record displayed again instead of table listing)
  • "Apply" function works fine
  • extend patch from Shaun Johnston and add divs['-1'] to implement prefix and
    divs[$n + 1] to implement postfix

  • what is difference between default_sort_columns and sort_field

  • not important now, default_sort_columns remove and sort_field brings amount
    of usable features, check doc/ChangeLog file for more information
  • after save of records, fields are incorrectly displayed (in example
    Description field in Authors is showed)

  • when using images or links instead of buttons, change and delete links
    are constructed with English words (not national):
    http://example.com/authors.php?sfn=0&fl=0&fm=0&operation=Change&rec=1
    http://example.com/authors.php?sfn=0&fl=0&fm=0&operation=Delete&rec=1
    Than it is impossible to change or delete record via links. Other
    functions such as view and copy works well.

  • fixed, works fine

  • default sort columns are cool, but is there a way to specify
    descending ordering? In this case empty strings goes first and
    I want them at the end of list

  • value of 0 in number of records to display on the screen will cause
    "Division by zero" error; so this should have the same functionality
    as -1 (display all records)

  • fixed

  • according to language and settings use htmlentities()
    or htmlspecialchars()

  • ability to take more than one column from external table when using
    optional description field;
    Example:
    I have a table of authors with surname and firstname fields.
    I have also table of articles with author_id field.
    I want during adding new article to select from authors, but not only
    by surname, but by both, surname and firstname.
    Possible solutions:

  • specify one field '@concat(surname, ', ', firstname)
  • specify by array
    Although this seems to be difficult to implement.

  • ability to resize set of values from external table about value 'not set'
    Example:
    I have table of organizations.
    I have table of users with organization_id field.
    Every user may be in organization, but he/she mustn't.
    So I wanted to select from organization table names or select nothing and
    than organization_id will be 0.

  • implemented via ['values2']

  • security hole with View (remove View ability and use operation=View, it will
    also give you a view ability)

  • should be checked
  • the same with Change (after saving, records will be surprisingly added)
  • should be fixed

  • multiple primary key support

  • M:N joins support and similarly sets support
  • allow to select any combination of description columns when makes join; eval()
    should be used for this purpose to allow also some simple data transforming
  • implemented via ['description']['columns'] and ['description']['divs']
    but should be re-thought and changed
  • $inc sets to 0 means unlimited

  • column ability to be showed and read-only in add/edit screen
    (example of use: description column of property/config table)

  • fix page number after search (that means: I'm on page 4/50, I search for
    some records and result is a few in example 5 records, all of these 5 records
    are able to fill 1 page, but I will be after search on page 4/1 - that's
    really strange)
  • need testing
  • $where variable in options to specify where clause for working only
    with subset of data
  • to have ability of setting up particular filter and do not need to enter
    filtering value in add or other forms
  • data removing protection - delete will only mark record as deleted
  • hint: can be handled in triggers, however no one have this tested yet

this document has been updated on 21/02/2024

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.