summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Include the includes subdir in the phpcs checks too.Harald Eilertsen2023-01-201-0/+1
|
* Update .phpcs to not complain about lack of yoda conditions.Harald Eilertsen2023-01-201-0/+1
|
* Rename and reorganize more source files.Harald Eilertsen2023-01-208-54/+92
|
* Rename and restructure source files to conform to common namin schemes.Harald Eilertsen2023-01-1911-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 requirementHarald Eilertsen2023-01-181-1/+1
|
* Update to use php 8.1Harald Eilertsen2023-01-181-0/+1
|
* Cleanup script to generate test data.Harald Eilertsen2022-06-181-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 Eilertsen2022-06-182-12/+12
| | | | | I think the remaining deprecation warnings now are from WordPress itself.
* Passing null as first arg to strtotime is deprecated.Harald Eilertsen2022-06-181-1/+1
|
* Fix ConcertTable tests and markup.Harald Eilertsen2022-06-182-10/+11
|
* Fix concert tests.Harald Eilertsen2022-06-182-26/+29
|
* Clean up and fix most phpcs issues in concert.phpHarald Eilertsen2022-06-181-11/+96
|
* Add dependencies to get phpunit working again.Harald Eilertsen2022-06-182-3/+2133
|
* Add phpcs config and do automatic fixups.Harald Eilertsen2022-06-1816-594/+561
|
* Bump versionv0.2.2Harald Eilertsen2022-04-071-1/+1
|
* Remove unused code, and fix some type annotation.Harald Eilertsen2022-04-071-16/+1
|
* Fix query for concerts with filter.Harald Eilertsen2022-04-071-1/+1
|
* Update plugin metadata and version 0.2.1v0.2.1Harald Eilertsen2022-04-041-7/+9
|
* composer: Fix version constraint for icalcreator.Harald Eilertsen2022-04-042-22/+10
| | | | Make sure we use a version that is compatible with php 7.4.
* Bump version to 0.2.0v0.2.0Harald Eilertsen2022-04-041-1/+1
|
* Prepare for release build using composer.Harald Eilertsen2022-04-042-2353/+30
|
* use correct file name variable when saving fileAndreaChirulescu2022-03-281-1/+1
|
* added function to clean file name before ical exportAndreaChirulescu2022-03-281-0/+8
|
* ics file gets first 20 characters from concert nameAndreaChirulescu2022-03-271-0/+2
|
* Filtered out concerts older than todayAndreaChirulescu2022-03-272-3/+3
| | | | Concerts should show with upper case
* Move update new venue form to class.Harald Eilertsen2022-03-122-18/+20
| | | | Also fix nonce checking.
* Move update edit concert form code to class.Harald Eilertsen2022-03-122-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 Eilertsen2022-03-121-2/+2
|
* ConcertsTable: Initialize more properties in constructor.Harald Eilertsen2022-03-121-0/+5
|
* Security: Escape band and venue name in concerts table.Harald Eilertsen2022-03-121-2/+2
|
* ConcertsTable: Initialize page_no on construct.Harald Eilertsen2022-03-121-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 Eilertsen2022-03-121-1/+17
|
* Move code to update concert table to concert table class.Harald Eilertsen2022-03-102-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 Eilertsen2022-03-101-7/+0
|
* Refactor gig import code.Harald Eilertsen2022-03-101-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 Eilertsen2022-03-102-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 Eilertsen2022-03-101-3/+2
|
* Fix more psalm issuesHarald Eilertsen2022-03-094-1/+8
|
* Reindent includes/ical_export.phpHarald Eilertsen2022-03-091-46/+45
|
* Fix typo in concert class, eventling -> eventlinkHarald Eilertsen2022-03-091-1/+1
|
* Merge remote-tracking branch 'andrea/andreaschanges' into devHarald Eilertsen2022-03-099-262/+2256
|\ | | | | | | And fixup most whitespace issues while at it.
| * import giglog checks for empty values and ivnalid dateAndreaChirulescu2022-03-011-32/+53
| |
| * iCal file download fixes to generate one file per concertAndreaChirulescu2022-02-276-476/+263
| | | | | | | | giglog import fixes to catch errors and ignore old concerts
| * Merge branch 'ical' of ↵AndreaChirulescu2022-02-214-238/+567
| |\ | | | | | | | | | | | | | | | | | | | | | | | | https://code.volse.net/wordpress/plugins/gigologadmin.git into andreaschanges # Conflicts: # composer.json # composer.lock # giglogadmin.php
| | * Add sample ical export module.Harald Eilertsen2022-02-214-225/+645
| | | | | | | | | | | | | | | 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 calendarAndreaChirulescu2022-02-215-20/+1887
| | |
| * | Pagination fix to resest page if out of rangeAndreaChirulescu2022-02-131-1/+6
| |/
* | Fix various psalm errors.Harald Eilertsen2022-03-096-6/+7
| |
* | Some cleanup in render_concerts_tableHarald Eilertsen2022-02-221-33/+23
|/
* Fix so pagination remembers filters in shortcode too.Harald Eilertsen2022-02-131-4/+4
|