Giter Site home page Giter Site logo

cms's Introduction

CMS @ APU SDS / DSC APU

Please read our Contribution Guidelines first

PHP 7.2++ required!

CMS is purely built on Modern Technologies like Bootstrap, Laravel Framework, NodeJS and more.

Amazing Contributors

Installation

Use the PHP package manager Composer to install this CMS.

git clone https://github.com/APU-SDS/cms.git
cd cms/
cp .env.example .env
nano .env OR vim .env
Edit MySQL Settings according to your Database setup locally
composer install
php artisan key:generate
chmod -R o+w storage/ (Linux/Mac Only)
mysql -u root -e 'create database cms'
php artisan migrate --seed
php artisan queue:listen - (Optional) Make sure this is in a different terminal or screen (background process)
php artisan serve

Now, the CMS should be live on http://127.0.0.1:8000!

Admin Panel: http://127.0.0.1:8000/admin.
Default Credentials:
Username: root
Password: password

Linter Installation

To install the linter

composer global require tightenco/tlint

For more information, check out the repo

Database seeding

By default, db:seed will seed the user and members table. If you wish to seed the member table:

php artisan db:seed --class=MembersTableSeeder

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure your Pull Request is satisfying the required fields in the PR Guideline/Template.

License

This project is licensed under the GNU General Public License v3.0 License - see the LICENSE file for details

cms's People

Contributors

dependabot[bot] avatar inspectorgadget avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

cms's Issues

Activate a gallery filter by default

Is your feature request related to a problem? Please describe.
Gallery loads all images by default and causes low performance.

Describe the solution you'd like
Activate the oldest or the latest event's filter by default to limit the images loaded.

Describe alternatives you've considered
Move the gallery to a new page.

Additional context
None.

Move Gallery to a new page

Is your feature request related to a problem? Please describe.
Too many images if gallery is loaded on the main page.

Describe the solution you'd like
Move the gallery section on index.blade.php to a new file called gallery.blade.php and style the page as you see fit. Also, link the route of the new gallery page to the Gallery option of the navigation bar on the main page.

Describe alternatives you've considered
None.

Additional context
Related issue #30

Broken Export on meetup-attendee branch

Describe the bug
I cant seem to export even though i copied exactly from MemberController

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Meetups'
  2. Click on 'Attendees'
  3. Click on 'Downloads'
  4. See error

Expected behavior
Export and download as "member.csv"

Screenshots
Error
image

Result of $list
image

Investigate Member Deletion error

Describe the bug
This bug/error is new. It seems like another DB references are stopping me from deleting the Member.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Members'
  2. Try to delete a Member (Dev DB please)

Expected behavior
It should delete

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: Version Gshit proof

Smartphone (please complete the following information):

  • Device: -
  • OS: -
  • Browser: -
  • Version: -

Additional context

Checkin UI

Is your feature request related to a problem? Please describe.
/checkin looks awful (resources/views/layouts/website/checkin.blade.php)

Describe the solution you'd like
Just make it less awful

If any of the data in the page not needed, feel free to remove.

Describe alternatives you've considered
Hiring a designer / frontend / freelancers

Members meetup attendance

Is your feature request related to a problem? Please describe.
Cant check who attended the meetup

Describe the solution you'd like
Every event should show attendee at their respective meetup

Email opt-in/out option

Is your feature request related to a problem? Please describe.
Users should be able to opt-in to our email(s) when signin up, and our emails should contain a way from them to opt out

Describe the solution you'd like
I am pretty sure a simple wantsEmail boolean column will suffice ... but need to discuss with @InspectorGadget

Describe alternatives you've considered
Mailchimp? it's free up-to first 2000

Additional context

Meetup Member Check-in

Is your feature request related to a problem? Please describe.

  1. Queuing to signup in forms is bad
  2. Checking if they are members later and asking to signup is a hassle

Describe the solution you'd like
Members show up to meetup can check in, if they are not members they will be redirected to signup

Describe alternatives you've considered
Sheets / Airtable

Additional context
Add any other context or screenshots about the feature request here.

Member Seeding

Is your feature request related to a problem? Please describe.
php artisan migrate:fresh always clears my db, need members for testing

Describe the solution you'd like
Use db:seed to generate member data. No factory / Faker needed

Describe alternatives you've considered
Manual inserts

Additional context
Add any other context or screenshots about the feature request here.

image caching & compression

  • Compress image
  • Multiple upload for Gallery
  • Compress image while uploading (Laravel Background Process)

PS: Should not need to run Linux Command, Laravel has an Image Compressor.

DB Query to Model Eloquent

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Move direct Query to their Models for performance and organisation

Describe alternatives you've considered
None

Additional context
Not applicable

Queue System for registration Emails

Is your feature request related to a problem? Please describe.
Yes, to prevent Users or Members from sitting down on the registration Modal just for the Email to be sent.

Describe the solution you'd like
The Email should be pushed to Queue so that it happens on the Background and minimal buffer time to just register as a new Member.

Describe alternatives you've considered

Additional context

Activity Logger

Is your feature request related to a problem? Please describe.
SuperAdmin unable to trace logs of what has changed.

Describe the solution you'd like
Logger Service which logs everything that you do after the Admin login page.

Describe alternatives you've considered
None

Additional context
Nope

Move register from modal to dedicated page

Is your feature request related to a problem? Please describe.

  1. UX is weird when they need to click twice
  2. No where to redirect for signup for checkin or other events

Describe the solution you'd like
When user click "Join us" on website, should take them to dedicated /register URL

Related Issue
#35 Checkin UI
If member not found, there's no where to redirect

Pagination for Members (Admin)

Is your feature request related to a problem? Please describe.
Yes, just to stop Admins from scrolling the entire list just to find one student (if they don't use the search bar).

Describe the solution you'd like
Add pagination, you can decide the amount of data in one pagination index.

Describe alternatives you've considered
Nothing yet.

Additional context
None

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.