summaryrefslogtreecommitdiffstats
path: root/includes/band.php
Commit message (Collapse)AuthorAgeFilesLines
* Autofixes by PsalmHarald Eilertsen2021-05-081-1/+1
|
* Auto fixup missing return types by PsalmHarald Eilertsen2021-05-081-2/+7
|
* Fix Bands class constructor.Harald Eilertsen2021-04-211-5/+10
| | | | | | The expected attributes did not have names corresponding with the table columns, which meant that creating a band directly from a returned table row did not produce the expected result.
* Refactor Band::create into Band::find and ::createHarald Eilertsen2021-04-151-21/+28
| | | | | | Not sure if it's a good idea to have `create` return an existing band. Will have to look at callsites to see if it should be renamed back or if the callsite should be changed.
* Make Band::create return band object, not just id.Harald Eilertsen2021-04-151-11/+10
|
* Got rid of find or create for concert and bandAndreaChirulescu2021-04-141-14/+96
| | | | Refactored band
* Switch to Reuse for license handling.Harald Eilertsen2021-04-141-16/+5
| | | | Run `reuse lint` to verify that all material is licensed.
* Fixed capital IFs and hopefully formatting issuesAndreaChirulescu2021-04-111-3/+3
|
* Added small forms to add new venue and bandAndreaChirulescu2021-04-111-7/+17
| | | | Made form for concert both functional to edit existing concert or add new concert
* Beuatified files after using editconfig with notepad++AndreaChirulescu2021-04-091-53/+54
|
* Beginning of a very rudimentary form for adding/editing concertsAndreaChirulescu2021-04-081-44/+53
|
* Refactor processing uploads.Harald Eilertsen2021-03-081-0/+44
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.