1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-05-08 13:34:06 +02:00
Nextcloud-News/docs/developer.md
Benjamin Brahmer 86e01a91f3 Release 18.1.0-beta1
Changed
- Add API v1.3 adding routes for starring/unstarring items by id and general fixes ()
  https://nextcloud.github.io/news/api/api-v1-3/
- Improve styling of tables in articles ()
- Allow fetching feeds that omit guid by using link as stand-in ()

Fixed
- Fix updated api not returning any item after marking item as read ()
- Fix deprecation warning for strip_tags() on a null value ()
- Fix selected item being set incorrectly when using default ordering or newest first ordering ()
- Fix doubling the height of the content area ()

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-29 10:34:26 +02:00

1.2 KiB

Developer

Welcome to the Nextcloud News App developer documentation.

News is open for contributions, if you plan to implement a new feature make sure to open a discussion. Describe the feature that you are planing and your first idea how to implement it. This ensures that you don't start working on something which collides with the targets of the maintainers.

For small fixes and improvements feel free to directly create a PR, the maintainers are happy to review your code.

APIs

News offers an API that can be used by clients to synchronize with the server. There are two API declarations, so far only V1 has been fully implemented. Work on V2 has started with low priority.

Coding Style Guidelines

The PHP code should all adhere to PSR-2. Note that this is a different codestyle than Nextcloud itself uses. To test the codestyle you can run make phpcs.

For linting JavaScript, a jshint file is used that is run before compiling the JavaScript.