Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename recperpage to limit. | Harald Eilertsen | 2023-01-29 | 3 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 | 9 | -42/+221 |
| | | | | | | | | | - 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... | ||||
* | 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 | 1 | -5/+3 |
| | |||||
* | Fix concert tests. | Harald Eilertsen | 2022-06-18 | 1 | -4/+4 |
| | |||||
* | Clean up and fix most phpcs issues in concert.php | Harald Eilertsen | 2022-06-18 | 1 | -11/+96 |
| | |||||
* | Add phpcs config and do automatic fixups. | Harald Eilertsen | 2022-06-18 | 14 | -589/+531 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | ConcertsTable: Initialize page_no on construct. | Harald Eilertsen | 2022-03-12 | 1 | -1/+1 |
| | | | | | Just to make sure it has a default value and is guaranteed initialized befor it is being used. | ||||
* | Security: Add CSRF checks when updating concerts table. | Harald Eilertsen | 2022-03-12 | 1 | -1/+17 |
| | |||||
* | Move code to update concert table to concert table class. | Harald Eilertsen | 2022-03-10 | 2 | -108/+107 |
| | | | | | | Puts everything that belongs together into the same place. This means the concerts table is getting a tad large, but let's refactor that later. | ||||
* | Drop some unused variables from the admin page update. | Harald Eilertsen | 2022-03-10 | 1 | -7/+0 |
| | |||||
* | 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. | ||||
* | Fix misc errors detected by psalm. | Harald Eilertsen | 2022-03-10 | 2 | -18/+35 |
| | | | | | - Lacking type info in venue.php - Potentially dereference null-objects in giglog_admin_page.php | ||||
* | 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 | 4 | -1/+8 |
| | |||||
* | Reindent includes/ical_export.php | Harald Eilertsen | 2022-03-09 | 1 | -46/+45 |
| | |||||
* | Fix typo in concert class, eventling -> eventlink | Harald Eilertsen | 2022-03-09 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'andrea/andreaschanges' into dev | Harald Eilertsen | 2022-03-09 | 5 | -27/+163 |
|\ | | | | | | | 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 | 6 | -476/+263 |
| | | | | | | | | giglog import fixes to catch errors and ignore old concerts | ||||
| * | Merge branch 'ical' of ↵ | AndreaChirulescu | 2022-02-21 | 1 | -0/+176 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | https://code.volse.net/wordpress/plugins/gigologadmin.git into andreaschanges # Conflicts: # composer.json # composer.lock # giglogadmin.php | ||||
| | * | Add sample ical export module. | Harald Eilertsen | 2022-02-21 | 1 | -0/+176 |
| | | | | | | | | | | | | | | | Currently just uses sample from iCalcreator docs, but shows how it can be done, and how to hook it into WordPress. | ||||
| * | | beginning of ical setup with kigkonsults calendar | AndreaChirulescu | 2022-02-21 | 1 | -0/+162 |
| | | | |||||
| * | | Pagination fix to resest page if out of range | AndreaChirulescu | 2022-02-13 | 1 | -1/+6 |
| |/ | |||||
* | | Fix various psalm errors. | Harald Eilertsen | 2022-03-09 | 5 | -5/+7 |
| | | |||||
* | | Some cleanup in render_concerts_table | Harald Eilertsen | 2022-02-22 | 1 | -33/+23 |
|/ | |||||
* | Fix so pagination remembers filters in shortcode too. | Harald Eilertsen | 2022-02-13 | 1 | -4/+4 |
| |