GithubHelp home page GithubHelp logo

laanito / tuqan Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 34.49 MB

This is an old ISO9001 ISO14001 app from around 2005 being remastered into current technologies

License: MIT License

PHP 61.93% JavaScript 26.24% HTML 9.21% CSS 0.91% Perl 0.44% ASP 0.48% ColdFusion 0.40% Lasso 0.32% Perl 6 0.07%
iso9001 iso14001 php

tuqan's Introduction

Tuqan

CodeFactor GitHub license GitHub issues

This is an old ISO9001 ISO14001 app that I had from around 2005. My plan is refactoring this to new technologies:

  • From old PHP 5.1 to PHP 7
  • From custom AJAX framework to modern PHP frameworks
  • From PEAR libraries to composer

Current Status

This is far from usable at this point without knowledge of the app I will work to have an usable version soon So far:

  • Dependencies are moved to composer
  • Localization handled with gettext
  • Auth class moved from unsupported PEAR/AUTH to jasny/auth
  • Classes adapted to PSR
  • Added a minimal routing with phroute
  • Move FROM PEAR/QuickForm to Former
  • Use Bootstrap

Things to do right now

  • Remove PEAR dependencies in-code (including files in distribuition)
  • Create clean Database for install
  • Move from PEAR/DB to PDO

When all these are finished we'd have an usable but buggy app

tuqan's People

Contributors

laanito avatar

Watchers

James Cloos avatar  avatar

Forkers

din-dke

tuqan's Issues

Use Former on login forms

I was planning to leave form integration for a further part but quickform is hard to integrate with bootstrap so I will need to use Former for login forms, this will lead to a first stage of form building outside HTML_Quickform

Remove iframe call on forms

Forms are called into an iframe because post was not handled by javascript, this need to be fixed before "attacking" forms

Monolog

Code uses a self-made debugger, it should be changed into Monolog

Update reqs for messages on database

These are current actions for messages on database:
Buttons:

  • administracion:mensajes:formulario:nuevo
  • administracion:mensajes:comun:baja:general
  • administracion:mensajes:formulario:editar:fila
  • inicio:mensajes:formulario:nuevo
  • inicio:mensajes:comun:estadisticas
  • inicio:historicomensajes:listado:ver
  • inicio:mensajes:excel:ver
  • administracion:adminmensajes:excel:ver

Menu:

  • administracion:mensajes:listado:ver
  • inicio:mensajes:listado:ver

Remove remaining iframes

Remove all remaining calls that were handled by iframe since those are the ones using PEAR/Page

Create controller for messages

Now that we have a first clean of the structure it is time to start unwinding the thread to remove old monolithic controller and turn it into individual controllers more maintenable

Review Forms with bootstrap

Forms should get a basic styling with bootstrap but it's likely its structure will prevent it on some points, time to review them.

First wiki data

Add some data of the roadmap to wiki and some images so someone who reads it can know what are we talking about

Put Auth checks on entry point

Right now auth checks are forced on javascript and on Login page/Ajax handler since Ajax handler is going to be moved into Router Auth should be in the main entry point too.

Review File upload handling

File uploads are handle outside of normal form flow, this will need to be handled in a future, no Milestone yet.

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.