summaryrefslogtreecommitdiffstats
path: root/includes/concert.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor Concert::createHarald Eilertsen2021-04-231-40/+27
| | | | | | | | | | Restructure the method a bit, drop the `c`prefix on variables, rename the variable to hold the created concert, and use object notation to pass the attributes to the constructor. Also rename the method `get` to `find`, the only call site was the `create` method. Drop the unnecessary method `check_duplicate`. Just use `find` instead.
* Concert::create return NULL if concert already exist.Harald Eilertsen2021-04-221-3/+5
| | | | | | We probably need some better error handling here. There's a myriad of reasons why this call could fail, and we might need to communicate the failure reason somewhere.
* Fix wrong property name in Concert::cname()Harald Eilertsen2021-04-221-1/+1
|
* Merge remote-tracking branch 'andrea/andreaschanges' into devHarald Eilertsen2021-04-221-16/+16
|\
| * Added column for concert title in databaseAndreaChirulescu2021-04-211-16/+16
| | | | | | | | Modified so that band is no longer in use
* | Typo in comment for Concert constructor.Harald Eilertsen2021-04-211-2/+2
|/
* Added form fields and functionality for admin to edit assigned usersAndreaChirulescu2021-04-191-0/+23
|
* Got rid of find or create for concert and bandAndreaChirulescu2021-04-141-37/+44
| | | | Refactored band
* Switch to Reuse for license handling.Harald Eilertsen2021-04-141-16/+5
| | | | Run `reuse lint` to verify that all material is licensed.
* Make Concert constructor public.Harald Eilertsen2021-04-141-4/+6
| | | | | Also allow it to default initialize when passing no args. Not entirely sure about making this interface public.
* Concert file wizardry to split create/createAndFind,Find functionsAndreaChirulescu2021-04-131-6/+40
| | | | Adjustments in admin page and import gigs to use the above adjustments
* Fixes of LF and extra spaces done by ATOMAndreaChirulescu2021-04-131-157/+157
|
* Moved a lot of concert related logic from import/admin into the ↵AndreaChirulescu2021-04-121-79/+157
| | | | GiglogAdmin_Concert
* Fixed capital IFs and hopefully formatting issuesAndreaChirulescu2021-04-111-79/+79
|
* Added small forms to add new venue and bandAndreaChirulescu2021-04-111-55/+79
| | | | Made form for concert both functional to edit existing concert or add new concert
* Add some error reporting to Concert class.Harald Eilertsen2021-04-011-1/+7
|
* Refactor processing uploads.Harald Eilertsen2021-03-081-0/+49
Moves all database operations to separate classes for each type of object, bands, venues and concerts. This makes the logic cleaner, and concentrates the db related code to logically distinct parts of the code. This means we no longer need the global access to the $wpdb object from the processing code.