mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Format includes using clang-format
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
This commit is contained in:
@ -1,17 +1,13 @@
|
||||
#include "comiccontroller_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_http_session.h"
|
||||
|
||||
#include "../static.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "comic.h"
|
||||
|
||||
#include "qnaturalsorting.h"
|
||||
|
||||
#include "QsLog.h"
|
||||
#include "comic.h"
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
#include "qnaturalsorting.h"
|
||||
#include "yacreader_http_session.h"
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define COMICCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ComicControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
#include "comiccontrollerinreadinglist_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_http_session.h"
|
||||
|
||||
#include "../static.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "comic.h"
|
||||
|
||||
#include "QsLog.h"
|
||||
#include "comic.h"
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_http_session.h"
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define COMICCONTROLLERINREADINGLISTV2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ComicControllerInReadingListV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#include "comicdownloadinfocontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define COMICDOWNLOADINFOCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ComicDownloadInfoControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,13 +1,12 @@
|
||||
#include "comicfullinfocontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "comic_db.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
using namespace std;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define COMICFULLINFOCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ComicFullinfoController_v2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
#include "covercontroller_v2.h"
|
||||
|
||||
#include "db_helper.h" //get libraries
|
||||
#include <QImage>
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_global.h"
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
#include <QImage>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define COVERCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class CoverControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define ERRORCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ErrorControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#include "favoritescontroller_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "comic_db.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define FAVORITESCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class FavoritesControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,17 +1,14 @@
|
||||
#include "foldercontentcontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "QsLog.h"
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
#include "folder.h"
|
||||
|
||||
#include "qnaturalsorting.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
#include "qnaturalsorting.h"
|
||||
|
||||
#include "QsLog.h"
|
||||
#include <QUrl>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define FOLDERCONTENTCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class FolderContentControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
#include "folderinfocontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "db_helper.h" //get libraries
|
||||
|
||||
#include "folder.h"
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h" //get libraries
|
||||
#include "folder.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define FOLDERINFOCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class FolderInfoControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "folder.h"
|
||||
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define FOLDERMETADATACONTROLLERV2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class FolderMetadataControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#include "librariescontroller_v2.h"
|
||||
|
||||
#include "db_helper.h" //get libraries
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define LIBRARIESCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
/**
|
||||
This controller displays a HTML form and dumps the submitted input.
|
||||
|
||||
@ -1,13 +1,11 @@
|
||||
#include "pagecontroller_v2.h"
|
||||
|
||||
#include "../static.h"
|
||||
|
||||
#include "comic.h"
|
||||
#include "yacreader_http_session.h"
|
||||
|
||||
#include <QDataStream>
|
||||
#include <QPointer>
|
||||
|
||||
#include <QsLog.h>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define PAGECONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class PageControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#include "readingcomicscontroller_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "comic_db.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define READINGCOMICSCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ReadingComicsControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#include "readinglistcontentcontroller_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "comic_db.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define READINGLISTCONTENTCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ReadingListContentControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#include "readinglistinfocontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define READINGLISTINFOCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ReadingListInfoControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define READINGLISTSCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class ReadingListsControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
#include "data_base_management.h"
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "search_query.h"
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
#include <QJsonDocument>
|
||||
#include <QSqlDatabase>
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
#define SEARCHCONTROLLER_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
#include <QSqlQuery>
|
||||
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
#include "synccontroller_v2.h"
|
||||
|
||||
#include "QsLog.h"
|
||||
#include <QUrl>
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#ifndef SYNCCONTROLLER_V2_H
|
||||
#define SYNCCONTROLLER_V2_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class SyncControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#include "tagcontentcontroller_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "comic_db.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define TAGCONTENTCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class TagContentControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#include "taginfocontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define TAGINFOCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class TagInfoControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
#include "tagscontroller_v2.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
#include "reading_list.h"
|
||||
|
||||
#include "yacreader_libraries.h"
|
||||
#include "yacreader_server_data_helper.h"
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define TAGSCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class TagsControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -1,12 +1,10 @@
|
||||
#include "updatecomiccontroller_v2.h"
|
||||
|
||||
#include <QUrl>
|
||||
|
||||
#include "QsLog.h"
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
|
||||
#include "comic_db.h"
|
||||
|
||||
#include "QsLog.h"
|
||||
#include <QUrl>
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define UPDATECOMICCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class UpdateComicControllerV2 : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define VERSIONCONTROLLER_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
#include <QThread>
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#include "statuspagecontroller.h"
|
||||
|
||||
#include "db_helper.h"
|
||||
#include "template.h"
|
||||
#include "yacreader_global.h"
|
||||
#include "db_helper.h"
|
||||
#include "yacreader_libraries.h"
|
||||
|
||||
#include <QSysInfo>
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#define STATUSPAGE_CONTROLLER
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
#include "httpresponse.h"
|
||||
|
||||
class StatusPageController : public stefanfrings::HttpRequestHandler
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user