Coder Social home page Coder Social logo

chrwei / archreactoros Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 3.0 2.94 MB

web based software system for manging membership based community

Home Page: http://archreactor.org/wiki/index.php/AROS

License: GNU General Public License v2.0

JavaScript 1.87% PHP 98.13%

archreactoros's People

Contributors

chrwei avatar olleolleolle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

archreactoros's Issues

Can't enable cash/check payment gateway.

Clicking the 'setting' button after enabling the gateway, the UI shows the green confirmation but apparently the DB isn't updated. Returning to the page still shows the gateway disabled.

Update OOP code to php 5

Use php5 specifc OOP keywords such as public and private properties and methods, use magic functions such as __get(), __toString(), etc...

Generally improve on Object Oriented code.

global user list

Allow active, paid up, full and supporting members to view the active membership list and contact details. add a db field on products to not that a membership level is allowed to view the list.

reason for this feature that Missouri State code governing non-profits requires members to have access to the membership list. Maybe make a config pref to turn this off in case other spaces don't want it.

Manage disabled/inactive users

Either display inactive users in a different color or add a column to the user list that states the user account's state.

Alternatively or additionally, add a checkbox to the search form to select whether inactive users should be shown or hidden.

Change installer chmod 777 requests

Chmod'ding to 777 is BAD.
Instruct site admins to change the file owner and if required set file permissions to 660 or 770 for directories.

Equipment inventory

manage equipment:

  • serial numbers, descriptions, date received, etc
  • owned or on loan and from who?
  • on loan to someone?
  • maintenance history

Fatal Error during install

I get the fatal error below right after telling ArchOS to fresh install. This has happened every time I tired using freshly pulled files from the git repository and a fresh SQL database.

Error Code:"Fatal error: Call to a member function Execute() on a non-object in /home/tdfb/public_html/ieee/lib/functions.php on line 7"

create API for external addons

Some organizations might want to use custom addons, i.e. to manage their library or inventory.

Whatever organizations might want to use, offer an API interface that allows to interact with AROS using http requests/RESTful services.

code formating

fix tabs/spaces. i'd like to see all tabs and no spaces. I'm not going to be picky about braces, as long as it's readable.

globals keyword

get rid of it. Pass vars in as function params by reference or use the $GLOBALS[] array.

Simplify payment gateway handling

Suggestion:

Remove all specific code from admin/payment.php.
Define interfaces and an abstract class that need to be implemented by new payment gateways.

"fix" the products table field names

used a quick hack to make single letter and 3 letter product codes for use in the interfaces and I put them in the unused path and url fields. rename these fields.

Refactor frontend php files and include payment extension option

Most frontend files such as order.php or admin/payment.php have very long functions that should be broken into several functions and possibly even turned into OO code.

Variables should be renamed to more generic names and refactored to decrease the use of distinct variables dramatically and ease code handling.

Also, order.php should allow for dynamically added payment options through extensions

Create multiple user groups and redo user.class.php

Instead of saving "admin" in the user table, create both group an user_group tables, allowing for multiple usergroups and fine grained permissions.

Also, the user class holds multiple identical or nearly identical methods.
Redo the whole class.

Modularize templates

modularize templates further, so that there is only one search form template, only one item listing template, etc...

Don't instantiate all classes per default

init.php instantiates all classes by default.

Only objects that are required everywhere and save state (i.s. Smarty, AdoDB, Dispatcher) should be instantiated by default.

Implement an __autoload function.

Implement an autoload function that automatically includes class files according to a specific naming convention.

I.e. : class ClassName is inside lib/class_name.class.php

UI improvements

Simple thing: address, city, state, and zip are required but the UI doesn't indicate that.

Make system extendable through plugins/modules

Allow for the creation of modules and plugins based on hooks (I <3 hooks ;)) to allow specific extra actions to be performed or code to be executed depending on the installed modules.

An example of a plugin would be to change group ids in a Mediawiki database upon payment of a membership fee.

Another example of a module would be to allow users to subscribe to custom services. (i.e. an SMS notification service) or create repositories on the organization's development server, and so on)

First product/membership type doesn't appear.

After an initial install in a clean database, I created a product product_id 1 was automatically assigned. On the front end, however, the membership type field was still blank.

I created a second membership and the front end reflected only the second product (product_id =2) .

I deleted the first one, and the second continues to work.

GET/POST vars

get rid of all the "safe extract" bullshit and reference post and get vars directly. specifically copying to a local var is fine.

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.