Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iCal file download fixes to generate one file per concert | AndreaChirulescu | 2022-02-27 | 1 | -1/+1 |
| | | | | giglog import fixes to catch errors and ignore old concerts | ||||
* | Clean up, fix and rename db tables. | Harald Eilertsen | 2021-09-16 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | | | This patch got a bit more involved than what was originally planned, but since we're messing with the tables I decided to do it all right away. - Moves the constraint definition to the CREATE TABLE statement for the concerts table. This replaces the existing KEY definition that it had. - Make sure the venues table is created before the concerts table so that the above mentioned constraint definition works. - Rename the tables. Use the wpdb-prefix and make the name a bit prettier. This caused some changes in the Concert and Venue classes, and for slightly silly reasons some test classes. The code actually turned out better (for the most part), but some refactoring can still be done. The column names remains unchanged for now. | ||||
* | Remove logging from Venue class. | Harald Eilertsen | 2021-09-06 | 1 | -8/+0 |
| | | | | Move logging to presentation/logic layer if necessary. | ||||
* | Ordered venues by name in drop down | AndreaChirulescu | 2021-09-05 | 1 | -1/+2 |
| | |||||
* | Make name and city required attributes for Venues. | Harald Eilertsen | 2021-09-02 | 1 | -6/+21 |
| | | | | It does not make sense to have anonymous venues nowhere. | ||||
* | Fix more type issues in Concert and Venue classes | Harald Eilertsen | 2021-09-02 | 1 | -5/+5 |
| | |||||
* | psalm: Ad types to attrs and constructor for Venue | Harald Eilertsen | 2021-09-02 | 1 | -6/+6 |
| | |||||
* | Fix misc Psalm issues. | Harald Eilertsen | 2021-06-12 | 1 | -2/+2 |
| | |||||
* | New method Venue::get to get venue by id | Harald Eilertsen | 2021-05-09 | 1 | -0/+16 |
| | |||||
* | Make venue constructor public. | Harald Eilertsen | 2021-05-09 | 1 | -1/+1 |
| | |||||
* | Venue::venues_in_city wrong type annotation | Harald Eilertsen | 2021-05-08 | 1 | -1/+1 |
| | |||||
* | Autofixes by Psalm | Harald Eilertsen | 2021-05-08 | 1 | -2/+2 |
| | |||||
* | Auto fixup missing return types by Psalm | Harald Eilertsen | 2021-05-08 | 1 | -5/+15 |
| | |||||
* | Added an uppercase in sql for venue and concert duplicate check | AndreaChirulescu | 2021-04-23 | 1 | -1/+9 |
| | | | | Added test to create duplicate concert with varied cases in string | ||||
* | Save city for venues too. | Harald Eilertsen | 2021-04-15 | 1 | -1/+2 |
| | |||||
* | Fix prepare call in Venue::venues_in_city. | Harald Eilertsen | 2021-04-15 | 1 | -1/+1 |
| | |||||
* | GiglogAdmin_Venue: Use default args to set default city. | Harald Eilertsen | 2021-04-14 | 1 | -4/+3 |
| | |||||
* | Use (object) notation to create plain objects. | Harald Eilertsen | 2021-04-14 | 1 | -6/+5 |
| | |||||
* | Switch to Reuse for license handling. | Harald Eilertsen | 2021-04-14 | 1 | -16/+5 |
| | | | | Run `reuse lint` to verify that all material is licensed. | ||||
* | Fixed capital IFs and hopefully formatting issues | AndreaChirulescu | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | Added small forms to add new venue and band | AndreaChirulescu | 2021-04-11 | 1 | -5/+6 |
| | | | | Made form for concert both functional to edit existing concert or add new concert | ||||
* | Change venues into proper objects. | Harald Eilertsen | 2021-04-10 | 1 | -12/+63 |
| | | | | | | | | | This means most static functions now either return a venue object, or an array of venue objects. The exception is the `all_cities` method, which still return an array of cities as strings. The constructor has been made private, as it should not be used directly from anywhere but the static methods on the Venue class. | ||||
* | Beuatified files after using editconfig with notepad++ | AndreaChirulescu | 2021-04-09 | 1 | -72/+72 |
| | |||||
* | Beginning of a very rudimentary form for adding/editing concerts | AndreaChirulescu | 2021-04-08 | 1 | -62/+72 |
| | |||||
* | Move rendering of concert assignment table. | Harald Eilertsen | 2021-04-01 | 1 | -0/+10 |
| | | | | | | Moved it to the admin page for now. May move it further to a partial or something later. There's quite a bit of cleanup needed. It still refers to some utility functions in the old shortcode module. | ||||
* | Refactor processing uploads. | Harald Eilertsen | 2021-03-08 | 1 | -0/+52 |
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. |