Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename and reorganize more source files. | Harald Eilertsen | 2023-01-20 | 1 | -133/+0 |
| | |||||
* | Rename and restructure source files to conform to common namin schemes. | Harald Eilertsen | 2023-01-19 | 1 | -2/+2 |
| | | | | | | | | | - Source files containing a class should only contain _one_ class. - Source files containing a class should be names class-[name of the class].php - Use dashes instead of underscores in file names. - Fix source file comments - Some nitpicking... | ||||
* | Add phpcs config and do automatic fixups. | Harald Eilertsen | 2022-06-18 | 1 | -51/+45 |
| | |||||
* | Refactor gig import code. | Harald Eilertsen | 2022-03-10 | 1 | -63/+64 |
| | | | | | | | | | Split into two functions, and drop the nesting of the ifs. Technically the ifs didn't need to be nested in the first place, since each error case would break the execution flow using `continue` anyways. Throw parsing errors instead of having to keep pass all the state into the function that only need to parse one line. | ||||
* | Security: Escape imported dates before outputing in error messages. | Harald Eilertsen | 2022-03-10 | 1 | -3/+2 |
| | |||||
* | Fix more psalm issues | Harald Eilertsen | 2022-03-09 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'andrea/andreaschanges' into dev | Harald Eilertsen | 2022-03-09 | 1 | -14/+65 |
|\ | | | | | | | And fixup most whitespace issues while at it. | ||||
| * | import giglog checks for empty values and ivnalid date | AndreaChirulescu | 2022-03-01 | 1 | -32/+53 |
| | | |||||
| * | iCal file download fixes to generate one file per concert | AndreaChirulescu | 2022-02-27 | 1 | -30/+72 |
| | | | | | | | | giglog import fixes to catch errors and ignore old concerts | ||||
* | | Fix various psalm errors. | Harald Eilertsen | 2022-03-09 | 1 | -1/+1 |
|/ | |||||
* | Return better error for failed CSRF check on import. | Harald Eilertsen | 2021-09-17 | 1 | -2/+2 |
| | |||||
* | security: Add proper CSRF checking for the import_gigs form. | Harald Eilertsen | 2021-09-05 | 1 | -3/+7 |
| | |||||
* | emove dependency on ConcertLogs in gig import code. | Harald Eilertsen | 2021-09-03 | 1 | -2/+0 |
| | |||||
* | Fix misc Psalm issues. | Harald Eilertsen | 2021-06-12 | 1 | -1/+1 |
| | |||||
* | Fix importing gigs after changes to the concert class. | Harald Eilertsen | 2021-05-09 | 1 | -20/+10 |
| | |||||
* | Autofixes by Psalm | Harald Eilertsen | 2021-05-08 | 1 | -1/+3 |
| | |||||
* | Auto fixup missing return types by Psalm | Harald Eilertsen | 2021-05-08 | 1 | -3/+5 |
| | |||||
* | Added column for concert title in database | AndreaChirulescu | 2021-04-21 | 1 | -6/+6 |
| | | | | Modified so that band is no longer in use | ||||
* | Make Band::create return band object, not just id. | Harald Eilertsen | 2021-04-15 | 1 | -3/+3 |
| | |||||
* | Got rid of find or create for concert and band | AndreaChirulescu | 2021-04-14 | 1 | -2/+2 |
| | | | | Refactored band | ||||
* | Switch to Reuse for license handling. | Harald Eilertsen | 2021-04-14 | 1 | -16/+5 |
| | | | | Run `reuse lint` to verify that all material is licensed. | ||||
* | Concert file wizardry to split create/createAndFind,Find functions | AndreaChirulescu | 2021-04-13 | 1 | -31/+1 |
| | | | | Adjustments in admin page and import gigs to use the above adjustments | ||||
* | Fixes of LF and extra spaces done by ATOM | AndreaChirulescu | 2021-04-13 | 1 | -5/+5 |
| | |||||
* | Moved a lot of concert related logic from import/admin into the ↵ | AndreaChirulescu | 2021-04-12 | 1 | -6/+18 |
| | | | | GiglogAdmin_Concert | ||||
* | Fixed calls to cretae band/venue functions in import gigs code | AndreaChirulescu | 2021-04-12 | 1 | -2/+2 |
| | |||||
* | Change venues into proper objects. | Harald Eilertsen | 2021-04-10 | 1 | -1/+2 |
| | | | | | | | | | 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. | ||||
* | Fix gig import logic. | Harald Eilertsen | 2021-04-01 | 1 | -16/+22 |
| | | | | | Add entry to concertlogs table, and fix some error reporting and misc input cleaning. | ||||
* | Refactor processing uploads. | Harald Eilertsen | 2021-03-08 | 1 | -58/+41 |
| | | | | | | | | | | 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. | ||||
* | Import gigs directly from uploaded file. | Harald Eilertsen | 2021-03-07 | 1 | -11/+77 |
| | | | | | | | | | | The original snippet based design expected an unknown number of files with gig data to be available at some specific location, and an admin could "process" these at will. When transforming to a plugin based design, we don't really need this two stage import anymore, so just process the imported data right away. This also makes the `wpg_files` table obsolete. | ||||
* | Implement upload of gig data files. | Harald Eilertsen | 2021-03-07 | 1 | -1/+41 |
| | |||||
* | Add a sub page for importing gigs in admin. | Harald Eilertsen | 2021-02-23 | 1 | -0/+25 |
Just an emtpy placeholder for now. |