Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always render date in concert form. | Harald Eilertsen | 2023-03-07 | 1 | -1/+1 |
| | | | | | A concert object will always have a valid date (today) if nothing else is specified, so no reason to check for unset dates anymore. | ||||
* | elect-field-helper can take array of single values as options. | Harald Eilertsen | 2023-03-07 | 1 | -5/+14 |
| | |||||
* | Remove venue filter from shortcode. | Harald Eilertsen | 2023-01-31 | 2 | -30/+17 |
| | | | | | I don't really see a need for filtering by venue as well as city. This makes it easier, both for us and the visitors. | ||||
* | Add filters to shortcode concert table. | Harald Eilertsen | 2023-01-29 | 2 | -2/+37 |
| | |||||
* | Fix silly typo in Venues class. | Harald Eilertsen | 2023-01-29 | 1 | -4/+4 |
| | |||||
* | Make sure limit and offset is actually used. | Harald Eilertsen | 2023-01-29 | 1 | -10/+2 |
| | |||||
* | Actually fix sample gig data generator... | Harald Eilertsen | 2023-01-29 | 1 | -12/+26 |
| | |||||
* | Fix concert limit/offset queries. | Harald Eilertsen | 2023-01-29 | 1 | -4/+5 |
| | | | | | | | | - offset and limit were sensitive to the order in which they were added, and would be reversed if added in the wrong order. That was a bit confusing. - offset and limit were not sanitized, so they were a vector for SQL injecion. Fixed that now. | ||||
* | Rename recperpage to limit. | Harald Eilertsen | 2023-01-29 | 3 | -3/+3 |
| | |||||
* | Add cities to the generated sample data + capitalization | Harald Eilertsen | 2023-01-29 | 1 | -32/+52 |
| | |||||
* | Make the shortcode to display concerts nicer. | Harald Eilertsen | 2023-01-29 | 2 | -2/+80 |
| | | | | | | | | Does not currently have the filtering options that the old code had, but the presentation is much nicer. Also the code is way simpler. Should be able to reuse this for the concert listing in the backend, but I'm leaving that alone for now. | ||||
* | Use DateTimeImmutable for concert date/time. | Harald Eilertsen | 2023-01-28 | 4 | -17/+10 |
| | |||||
* | Clean up phpcs warnings in ical handler code. | Harald Eilertsen | 2023-01-28 | 2 | -43/+31 |
| | | | | | One warning remains, for using the locale dependent `date` function. Leaving this as I'm looking to redo the date formatting stuff anyways. | ||||
* | Change ical export handler to a function. | Harald Eilertsen | 2023-01-22 | 2 | -93/+96 |
| | | | | | A class with one static function does not need to be a class in any case. Also renames the function to be a bit more descriptive. | ||||
* | Replace homegrown file name sanitization with WP function. | Harald Eilertsen | 2023-01-22 | 1 | -8/+6 |
| | |||||
* | Add file comment to Duplicate Concert Exception. | Harald Eilertsen | 2023-01-22 | 1 | -0/+6 |
| | |||||
* | Fix phpcs warning and nitpicks in venue class. | Harald Eilertsen | 2023-01-22 | 1 | -43/+106 |
| | |||||
* | Callbacks can't be private methods. | Harald Eilertsen | 2023-01-22 | 1 | -3/+2 |
| | |||||
* | Fix all phpcs errors in main plugin source. | Harald Eilertsen | 2023-01-20 | 1 | -21/+31 |
| | |||||
* | Ran phpcbf on main plugin file. | Harald Eilertsen | 2023-01-20 | 1 | -45/+50 |
| | |||||
* | Include the includes subdir in the phpcs checks too. | Harald Eilertsen | 2023-01-20 | 1 | -0/+1 |
| | |||||
* | Update .phpcs to not complain about lack of yoda conditions. | Harald Eilertsen | 2023-01-20 | 1 | -0/+1 |
| | |||||
* | Rename and reorganize more source files. | Harald Eilertsen | 2023-01-20 | 8 | -54/+92 |
| | |||||
* | Rename and restructure source files to conform to common namin schemes. | Harald Eilertsen | 2023-01-19 | 11 | -174/+224 |
| | | | | | | | | | - 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... | ||||
* | Make php 8.1 a requirement | Harald Eilertsen | 2023-01-18 | 1 | -1/+1 |
| | |||||
* | Update to use php 8.1 | Harald Eilertsen | 2023-01-18 | 1 | -0/+1 |
| | |||||
* | Cleanup script to generate test data. | Harald Eilertsen | 2022-06-18 | 1 | -70/+114 |
| | | | | | Fix phpcs warnings, and add functionality to specify how many entries you want made on the command line. | ||||
* | Get rid of a few deprecation warning. | Harald Eilertsen | 2022-06-18 | 2 | -12/+12 |
| | | | | | I think the remaining deprecation warnings now are from WordPress itself. | ||||
* | Passing null as first arg to strtotime is deprecated. | Harald Eilertsen | 2022-06-18 | 1 | -1/+1 |
| | |||||
* | Fix ConcertTable tests and markup. | Harald Eilertsen | 2022-06-18 | 2 | -10/+11 |
| | |||||
* | Fix concert tests. | Harald Eilertsen | 2022-06-18 | 2 | -26/+29 |
| | |||||
* | Clean up and fix most phpcs issues in concert.php | Harald Eilertsen | 2022-06-18 | 1 | -11/+96 |
| | |||||
* | Add dependencies to get phpunit working again. | Harald Eilertsen | 2022-06-18 | 2 | -3/+2133 |
| | |||||
* | Add phpcs config and do automatic fixups. | Harald Eilertsen | 2022-06-18 | 16 | -594/+561 |
| | |||||
* | Bump versionv0.2.2 | Harald Eilertsen | 2022-04-07 | 1 | -1/+1 |
| | |||||
* | Remove unused code, and fix some type annotation. | Harald Eilertsen | 2022-04-07 | 1 | -16/+1 |
| | |||||
* | Fix query for concerts with filter. | Harald Eilertsen | 2022-04-07 | 1 | -1/+1 |
| | |||||
* | Update plugin metadata and version 0.2.1v0.2.1 | Harald Eilertsen | 2022-04-04 | 1 | -7/+9 |
| | |||||
* | composer: Fix version constraint for icalcreator. | Harald Eilertsen | 2022-04-04 | 2 | -22/+10 |
| | | | | Make sure we use a version that is compatible with php 7.4. | ||||
* | Bump version to 0.2.0v0.2.0 | Harald Eilertsen | 2022-04-04 | 1 | -1/+1 |
| | |||||
* | Prepare for release build using composer. | Harald Eilertsen | 2022-04-04 | 2 | -2353/+30 |
| | |||||
* | use correct file name variable when saving file | AndreaChirulescu | 2022-03-28 | 1 | -1/+1 |
| | |||||
* | added function to clean file name before ical export | AndreaChirulescu | 2022-03-28 | 1 | -0/+8 |
| | |||||
* | ics file gets first 20 characters from concert name | AndreaChirulescu | 2022-03-27 | 1 | -0/+2 |
| | |||||
* | Filtered out concerts older than today | AndreaChirulescu | 2022-03-27 | 2 | -3/+3 |
| | | | | Concerts should show with upper case | ||||
* | Move update new venue form to class. | Harald Eilertsen | 2022-03-12 | 2 | -18/+20 |
| | | | | Also fix nonce checking. | ||||
* | Move update edit concert form code to class. | Harald Eilertsen | 2022-03-12 | 2 | -57/+73 |
| | | | | | | Also ensure that nonce checking is performed before both adding and editing concerts, and escape concert data before outputing it in the form. | ||||
* | Security: Escape event and link urls before using. | Harald Eilertsen | 2022-03-12 | 1 | -2/+2 |
| | |||||
* | ConcertsTable: Initialize more properties in constructor. | Harald Eilertsen | 2022-03-12 | 1 | -0/+5 |
| | |||||
* | Security: Escape band and venue name in concerts table. | Harald Eilertsen | 2022-03-12 | 1 | -2/+2 |
| |