]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrreport.git/log
philipp/winterrodeln/mediawiki_extensions/wrreport.git
6 weeks agoSome comments for next improvements. wip/feature/rest_api
Philipp Spitzer [Fri, 1 Aug 2025 19:12:55 +0000 (21:12 +0200)]
Some comments for next improvements.

# Conflicts:
# includes/WrReportStore.php

6 weeks agoUpdate TODO list.
Philipp Spitzer [Fri, 1 Aug 2025 18:33:45 +0000 (20:33 +0200)]
Update TODO list.

6 weeks agoUse 'wrreport-newreport-enterdescription' message for empty description.
Philipp Spitzer [Fri, 1 Aug 2025 19:11:26 +0000 (21:11 +0200)]
Use 'wrreport-newreport-enterdescription' message for empty description.

# Conflicts:
# includes/WrReportStore.php

6 weeks agoAdd wrreport-newreport-nohttp message key to extension.json.
Philipp Spitzer [Fri, 1 Aug 2025 19:04:37 +0000 (21:04 +0200)]
Add wrreport-newreport-nohttp message key to extension.json.

6 weeks agoCheck whether this user used the letters 'http' if he is not logged in.
Philipp Spitzer [Fri, 1 Aug 2025 18:29:59 +0000 (20:29 +0200)]
Check whether this user used the letters 'http' if he is not logged in.

6 weeks agoRemove unused variable.
Philipp Spitzer [Fri, 1 Aug 2025 17:39:32 +0000 (19:39 +0200)]
Remove unused variable.

6 weeks agoCreate tests that the string "http" is only allowed for users that are logged in.
Philipp Spitzer [Fri, 1 Aug 2025 17:33:19 +0000 (19:33 +0200)]
Create tests that the string "http" is only allowed for users that are logged in.

6 weeks agoCheck for duplicate reports.
Philipp Spitzer [Thu, 31 Jul 2025 18:09:20 +0000 (20:09 +0200)]
Check for duplicate reports.

6 weeks agoIntroduce constant TIME_FORMAT.
Philipp Spitzer [Thu, 31 Jul 2025 18:09:02 +0000 (20:09 +0200)]
Introduce constant TIME_FORMAT.

6 weeks agoIntroduce constant DATE_TIME_FORMAT.
Philipp Spitzer [Thu, 31 Jul 2025 16:50:24 +0000 (18:50 +0200)]
Introduce constant DATE_TIME_FORMAT.

6 weeks agoIntroduce constant DATE_FORMAT.
Philipp Spitzer [Thu, 31 Jul 2025 16:19:34 +0000 (18:19 +0200)]
Introduce constant DATE_FORMAT.

6 weeks agoAdd a test to detect accepted duplicates.
Philipp Spitzer [Thu, 31 Jul 2025 15:58:49 +0000 (17:58 +0200)]
Add a test to detect accepted duplicates.

6 weeks agoAdd Libravatar for user.
Philipp Spitzer [Tue, 22 Jul 2025 20:56:51 +0000 (22:56 +0200)]
Add Libravatar for user.

6 weeks agoSpecify author_libravatar_url in OpenAPI.
Philipp Spitzer [Wed, 30 Jul 2025 20:26:17 +0000 (22:26 +0200)]
Specify author_libravatar_url in OpenAPI.

6 weeks agoFix tests in WrReportDeleteTest.php after new format for error messages.
Philipp Spitzer [Wed, 30 Jul 2025 19:46:55 +0000 (21:46 +0200)]
Fix tests in WrReportDeleteTest.php after new format for error messages.

6 weeks agoFix tests in WrReportPostTest.php after new format for error messages.
Philipp Spitzer [Wed, 30 Jul 2025 19:42:19 +0000 (21:42 +0200)]
Fix tests in WrReportPostTest.php after new format for error messages.

6 weeks agoReport which field was affected for WrReportFieldException.
Philipp Spitzer [Wed, 30 Jul 2025 19:41:46 +0000 (21:41 +0200)]
Report which field was affected for WrReportFieldException.

6 weeks agoRemove unused variable.
Philipp Spitzer [Wed, 30 Jul 2025 19:41:09 +0000 (21:41 +0200)]
Remove unused variable.

6 weeks agoFix coding style warning for WrReportGetTest.php
Philipp Spitzer [Wed, 30 Jul 2025 19:21:16 +0000 (21:21 +0200)]
Fix coding style warning for WrReportGetTest.php

6 weeks agoFix coding style warnings.
Philipp Spitzer [Wed, 30 Jul 2025 19:20:09 +0000 (21:20 +0200)]
Fix coding style warnings.

6 weeks agoFix testAdditionalParameter after new format for error messages.
Philipp Spitzer [Wed, 30 Jul 2025 19:18:29 +0000 (21:18 +0200)]
Fix testAdditionalParameter after new format for error messages.

6 weeks agoFix testMissingParameter after new format for error messages.
Philipp Spitzer [Wed, 30 Jul 2025 18:56:32 +0000 (20:56 +0200)]
Fix testMissingParameter after new format for error messages.

6 weeks agoFix testWrongParameterType after new format for error messages.
Philipp Spitzer [Wed, 30 Jul 2025 18:52:46 +0000 (20:52 +0200)]
Fix testWrongParameterType after new format for error messages.

6 weeks agoFix testWrongParameterValue after new format for error messages.
Philipp Spitzer [Wed, 30 Jul 2025 16:48:09 +0000 (18:48 +0200)]
Fix testWrongParameterValue after new format for error messages.

7 weeks agoRename Services_Libravatar to Libravatar and add namespace.
Philipp Spitzer [Tue, 22 Jul 2025 20:12:13 +0000 (22:12 +0200)]
Rename Services_Libravatar to Libravatar and add namespace.

7 weeks agoUpdate Libravatar to version 0.2.4.
Philipp Spitzer [Tue, 22 Jul 2025 20:09:57 +0000 (22:09 +0200)]
Update Libravatar to version 0.2.4.

8 weeks agoMark time as optional.
Philipp Spitzer [Mon, 14 Jul 2025 19:31:51 +0000 (21:31 +0200)]
Mark time as optional.

8 weeks agoShow validation error as CdxMessage.
Philipp Spitzer [Mon, 14 Jul 2025 19:31:42 +0000 (21:31 +0200)]
Show validation error as CdxMessage.

8 weeks agoSimplify error handling.
Philipp Spitzer [Mon, 14 Jul 2025 19:31:25 +0000 (21:31 +0200)]
Simplify error handling.

8 weeks agoMake error specification compatible with validator output.
Philipp Spitzer [Mon, 14 Jul 2025 19:30:43 +0000 (21:30 +0200)]
Make error specification compatible with validator output.

2 months agoAdd validation_error response type.
Philipp Spitzer [Fri, 4 Jul 2025 12:37:43 +0000 (14:37 +0200)]
Add validation_error response type.

2 months agoNo condition is now shown as '---'.
Philipp Spitzer [Thu, 3 Jul 2025 19:57:09 +0000 (21:57 +0200)]
No condition is now shown as '---'.

2 months agoLeft-align description by adding a CSS class.
Philipp Spitzer [Thu, 3 Jul 2025 19:32:46 +0000 (21:32 +0200)]
Left-align description by adding a CSS class.

2 months agoShow "deleted" text in columns description and author.
Philipp Spitzer [Thu, 3 Jul 2025 19:28:16 +0000 (21:28 +0200)]
Show "deleted" text in columns description and author.

2 months agoShow deleted text in condition column if deleted.
Philipp Spitzer [Thu, 3 Jul 2025 19:17:33 +0000 (21:17 +0200)]
Show deleted text in condition column if deleted.

2 months agoMore PHP coding style related changes.
Philipp Spitzer [Thu, 3 Jul 2025 19:16:50 +0000 (21:16 +0200)]
More PHP coding style related changes.

2 months agoExclude invisibly deleted records from showing.
Philipp Spitzer [Thu, 3 Jul 2025 19:38:37 +0000 (21:38 +0200)]
Exclude invisibly deleted records from showing.

# Conflicts:
# resources/components/WrReportTable.vue

2 months agoIntroduce function sledrunReportIsDeleted().
Philipp Spitzer [Thu, 3 Jul 2025 18:59:53 +0000 (20:59 +0200)]
Introduce function sledrunReportIsDeleted().

2 months agoSome code style changes...
Philipp Spitzer [Thu, 3 Jul 2025 18:50:54 +0000 (20:50 +0200)]
Some code style changes...

2 months agoMove libravatar and rename Services_Libravatar to Libravatar.
Philipp Spitzer [Thu, 3 Jul 2025 18:43:57 +0000 (20:43 +0200)]
Move libravatar and rename Services_Libravatar to Libravatar.

2 months agoDeclaring WrReportForm in extension.json seems unnecessary.
Philipp Spitzer [Thu, 3 Jul 2025 17:28:25 +0000 (19:28 +0200)]
Declaring WrReportForm in extension.json seems unnecessary.

2 months agoCreate dedicated file for WrReportUser.
Philipp Spitzer [Thu, 3 Jul 2025 17:15:36 +0000 (19:15 +0200)]
Create dedicated file for WrReportUser.

2 months agoCreate dedicated file for WrReportCondition.
Philipp Spitzer [Thu, 3 Jul 2025 17:13:58 +0000 (19:13 +0200)]
Create dedicated file for WrReportCondition.

2 months agoCode style changes suggested by the linter.
Philipp Spitzer [Thu, 3 Jul 2025 17:08:03 +0000 (19:08 +0200)]
Code style changes suggested by the linter.

2 months agoCreate dedicated file for WrReportAlreadyDeletedException.
Philipp Spitzer [Thu, 3 Jul 2025 17:07:42 +0000 (19:07 +0200)]
Create dedicated file for WrReportAlreadyDeletedException.

2 months agoRename WrReportPageTitleDoesNotExist to WrReportPageTitleDoesNotExistException.
Philipp Spitzer [Thu, 3 Jul 2025 17:05:02 +0000 (19:05 +0200)]
Rename WrReportPageTitleDoesNotExist to WrReportPageTitleDoesNotExistException.

2 months agoCreate dedicated file for WrReportPageTitleDoesNotExist.
Philipp Spitzer [Thu, 3 Jul 2025 17:03:58 +0000 (19:03 +0200)]
Create dedicated file for WrReportPageTitleDoesNotExist.

2 months agoCreate dedicated file for WrReportFieldIsEmptyException.
Philipp Spitzer [Thu, 3 Jul 2025 17:02:47 +0000 (19:02 +0200)]
Create dedicated file for WrReportFieldIsEmptyException.

2 months agoCreate dedicated file for WrReportFieldException.
Philipp Spitzer [Thu, 3 Jul 2025 17:01:53 +0000 (19:01 +0200)]
Create dedicated file for WrReportFieldException.

2 months agoCreate dedicated file for WrReportNotFoundException.
Philipp Spitzer [Thu, 3 Jul 2025 17:00:46 +0000 (19:00 +0200)]
Create dedicated file for WrReportNotFoundException.

2 months agoCreate dedicated file for WrReportStoreException.
Philipp Spitzer [Thu, 3 Jul 2025 16:59:06 +0000 (18:59 +0200)]
Create dedicated file for WrReportStoreException.

2 months agoRename wrReportTableName to WR_REPORT_TABLE_NAME.
Philipp Spitzer [Thu, 3 Jul 2025 16:49:52 +0000 (18:49 +0200)]
Rename wrReportTableName to WR_REPORT_TABLE_NAME.

2 months agoRename constant wrReportTimeZone to WR_REPORT_TIME_ZONE.
Philipp Spitzer [Thu, 3 Jul 2025 16:48:41 +0000 (18:48 +0200)]
Rename constant wrReportTimeZone to WR_REPORT_TIME_ZONE.

2 months agogetUserIdentity()->getId() always returns an int (0 instead of null).
Philipp Spitzer [Wed, 2 Jul 2025 20:13:55 +0000 (22:13 +0200)]
getUserIdentity()->getId() always returns an int (0 instead of null).

2 months agoUpdate test to include deleted reports.
Philipp Spitzer [Wed, 2 Jul 2025 20:13:28 +0000 (22:13 +0200)]
Update test to include deleted reports.

2 months agoMention where whereNotDeletedInvisible() could be used.
Philipp Spitzer [Wed, 2 Jul 2025 20:12:58 +0000 (22:12 +0200)]
Mention where whereNotDeletedInvisible() could be used.

2 months agoAllow filtering invisibly deleted reports - not used yet.
Philipp Spitzer [Wed, 2 Jul 2025 20:03:09 +0000 (22:03 +0200)]
Allow filtering invisibly deleted reports - not used yet.

2 months agoConsistent wording for sledrun report.
Philipp Spitzer [Wed, 2 Jul 2025 20:02:34 +0000 (22:02 +0200)]
Consistent wording for sledrun report.

2 months agoClarify that deleted reports are returned by the GET API.
Philipp Spitzer [Wed, 2 Jul 2025 20:02:21 +0000 (22:02 +0200)]
Clarify that deleted reports are returned by the GET API.

2 months agoAdd user's email addresses in the database query for upcoming Libravatar URL calculation.
Philipp Spitzer [Wed, 2 Jul 2025 19:19:40 +0000 (21:19 +0200)]
Add user's email addresses in the database query for upcoming Libravatar URL calculation.

2 months agogetWrReportList needs to return the deleted reports as well.
Philipp Spitzer [Wed, 2 Jul 2025 18:31:40 +0000 (20:31 +0200)]
getWrReportList needs to return the deleted reports as well.

2 months agoJust reload the table for now as handling of deleted reports is inconsistent.
Philipp Spitzer [Tue, 1 Jul 2025 20:51:54 +0000 (22:51 +0200)]
Just reload the table for now as handling of deleted reports is inconsistent.

2 months agoExchange report by deleted report in table after deletion.
Philipp Spitzer [Tue, 1 Jul 2025 20:45:09 +0000 (22:45 +0200)]
Exchange report by deleted report in table after deletion.

2 months agoTypo in openapi.json.
Philipp Spitzer [Tue, 1 Jul 2025 20:44:30 +0000 (22:44 +0200)]
Typo in openapi.json.

2 months agoImplement deleting report.
Philipp Spitzer [Tue, 1 Jul 2025 20:17:12 +0000 (22:17 +0200)]
Implement deleting report.

2 months agoShow report text in delete dialog.
Philipp Spitzer [Tue, 1 Jul 2025 19:57:21 +0000 (21:57 +0200)]
Show report text in delete dialog.

2 months agoAdd field for delete person name in delete dialog.
Philipp Spitzer [Tue, 1 Jul 2025 19:57:01 +0000 (21:57 +0200)]
Add field for delete person name in delete dialog.

2 months agoAdd field to enter reason for deletion in WrReportDeleteDialog.
Philipp Spitzer [Tue, 1 Jul 2025 19:47:34 +0000 (21:47 +0200)]
Add field to enter reason for deletion in WrReportDeleteDialog.

2 months agoCreate delete dialog (without functionality yet).
Philipp Spitzer [Tue, 1 Jul 2025 18:31:04 +0000 (20:31 +0200)]
Create delete dialog (without functionality yet).

2 months agoAdd delete button (without functionality yet).
Philipp Spitzer [Tue, 1 Jul 2025 17:38:14 +0000 (19:38 +0200)]
Add delete button (without functionality yet).

2 months agoAdd actions in sledrun report table on sledrun pages.
Philipp Spitzer [Tue, 1 Jul 2025 17:38:00 +0000 (19:38 +0200)]
Add actions in sledrun report table on sledrun pages.

2 months agoFormat user as link in sledrun report table.
Philipp Spitzer [Sun, 29 Jun 2025 15:28:29 +0000 (17:28 +0200)]
Format user as link in sledrun report table.

2 months agoMake page title a link in sledrun report table.
Philipp Spitzer [Sun, 29 Jun 2025 14:18:08 +0000 (16:18 +0200)]
Make page title a link in sledrun report table.

2 months agoFormat condition in sledrun report tables.
Philipp Spitzer [Sun, 29 Jun 2025 13:52:57 +0000 (15:52 +0200)]
Format condition in sledrun report tables.

2 months agoFormat date/time of entry.
Philipp Spitzer [Sun, 29 Jun 2025 13:41:22 +0000 (15:41 +0200)]
Format date/time of entry.

2 months agoFormat sledrun report date.
Philipp Spitzer [Sun, 29 Jun 2025 13:36:20 +0000 (15:36 +0200)]
Format sledrun report date.

2 months agoFormat time of sledrun report.
Philipp Spitzer [Sun, 29 Jun 2025 13:23:44 +0000 (15:23 +0200)]
Format time of sledrun report.

2 months agoFix handling of boolean values in WrReportTable.
Philipp Spitzer [Sun, 29 Jun 2025 10:36:22 +0000 (12:36 +0200)]
Fix handling of boolean values in WrReportTable.

2 months agoAdd Vue AppWrTable to special page (now the table exists twice for comparison).
Philipp Spitzer [Sun, 29 Jun 2025 10:31:07 +0000 (12:31 +0200)]
Add Vue AppWrTable to special page (now the table exists twice for comparison).

2 months agoCreate AppWrTable to prepare it's usage on the special page.
Philipp Spitzer [Sun, 29 Jun 2025 10:30:28 +0000 (12:30 +0200)]
Create AppWrTable to prepare it's usage on the special page.

2 months agoUse jquery to mount AppWrForm.
Philipp Spitzer [Sun, 29 Jun 2025 10:19:56 +0000 (12:19 +0200)]
Use jquery to mount AppWrForm.

2 months agoAdd notification type after submitting a sledrun report (success or error).
Philipp Spitzer [Sun, 29 Jun 2025 09:59:35 +0000 (11:59 +0200)]
Add notification type after submitting a sledrun report (success or error).

2 months agoRename App.vue to AppWrForm.vue.
Philipp Spitzer [Sun, 29 Jun 2025 09:58:59 +0000 (11:58 +0200)]
Rename App.vue to AppWrForm.vue.

2 months agoDisable camelcase warning for vue files.
Philipp Spitzer [Sun, 29 Jun 2025 08:54:25 +0000 (10:54 +0200)]
Disable camelcase warning for vue files.

2 months agoUse single quotes for string to satisfy eslint.
Philipp Spitzer [Sun, 29 Jun 2025 08:54:12 +0000 (10:54 +0200)]
Use single quotes for string to satisfy eslint.

2 months agoWrReportTable now accepts a list of sledrun_report.
Philipp Spitzer [Sat, 28 Jun 2025 20:54:48 +0000 (22:54 +0200)]
WrReportTable now accepts a list of sledrun_report.

2 months agoOnly add time_report when user entered the time.
Philipp Spitzer [Tue, 24 Jun 2025 18:56:47 +0000 (20:56 +0200)]
Only add time_report when user entered the time.

2 months agoFix typo in action property of button.
Philipp Spitzer [Tue, 24 Jun 2025 18:56:09 +0000 (20:56 +0200)]
Fix typo in action property of button.

2 months agoExplicitly declare used libraries as dependencies.
Philipp Spitzer [Tue, 24 Jun 2025 18:55:30 +0000 (20:55 +0200)]
Explicitly declare used libraries as dependencies.

2 months agoDefine the time format (a little bit) better.
Philipp Spitzer [Tue, 24 Jun 2025 18:54:16 +0000 (20:54 +0200)]
Define the time format (a little bit) better.

2 months agoSubmit report.
Philipp Spitzer [Fri, 20 Jun 2025 15:34:14 +0000 (17:34 +0200)]
Submit report.

2 months agoUnify WrReportTableTitle.vue and WrReportTableRow.vue.
Philipp Spitzer [Thu, 19 Jun 2025 19:33:14 +0000 (21:33 +0200)]
Unify WrReportTableTitle.vue and WrReportTableRow.vue.

2 months agoRemove some formatting warnings in wrReportTableTitleRender PHP function.
Philipp Spitzer [Thu, 19 Jun 2025 14:06:11 +0000 (16:06 +0200)]
Remove some formatting warnings in wrReportTableTitleRender PHP function.

2 months agoCreate TableTitle and TableRow and use it for preview.
Philipp Spitzer [Thu, 19 Jun 2025 14:05:39 +0000 (16:05 +0200)]
Create TableTitle and TableRow and use it for preview.

2 months agoAdd more conditions before form can be submitted.
Philipp Spitzer [Thu, 19 Jun 2025 12:22:47 +0000 (14:22 +0200)]
Add more conditions before form can be submitted.

2 months agoMake the submit button progressive.
Philipp Spitzer [Thu, 19 Jun 2025 12:22:32 +0000 (14:22 +0200)]
Make the submit button progressive.

2 months agoShow the default user name.
Philipp Spitzer [Thu, 19 Jun 2025 12:22:14 +0000 (14:22 +0200)]
Show the default user name.

2 months agoExpose author_name as modelValue.
Philipp Spitzer [Thu, 19 Jun 2025 09:02:12 +0000 (11:02 +0200)]
Expose author_name as modelValue.

2 months agoExpose description as modelValue.
Philipp Spitzer [Thu, 19 Jun 2025 08:56:19 +0000 (10:56 +0200)]
Expose description as modelValue.

2 months agoExpose time_report as modelValue.
Philipp Spitzer [Thu, 19 Jun 2025 08:52:54 +0000 (10:52 +0200)]
Expose time_report as modelValue.