Commit Graph

53 Commits

Author SHA1 Message Date
sergiotarxz dcee164488 Adding verification web endpoint. 2022-04-24 17:14:55 +02:00
sergiotarxz deeb0da8cd Adding verification email. 2022-04-24 03:01:21 +02:00
sergiotarxz f2cf883f34 Adding a module to send multipart/alternative mails. 2022-04-24 00:04:39 +02:00
sergiotarxz 85aea0378c Adding endpoint to create applications. 2022-04-21 02:46:11 +02:00
sergiotarxz 16ac140f9d Adding the first endpoint which allows to interact by http with the app.
The POST /developer endpoint is created using the openapi definition
to validate the fields. This will allow a way to create endpoints
and their doc automatically.
2022-04-01 03:45:03 +02:00
sergiotarxz 3d9724b144 Updating documentation to keep up with the latest changes. 2022-03-31 18:37:02 +02:00
sergiotarxz 90f9f743a0 Adding tests to Peace::DAO::Build. 2022-03-31 18:36:10 +02:00
sergiotarxz 693d720ede Adding a Peace::DAO::Build with its integration test. 2022-03-31 02:39:20 +02:00
sergiotarxz e92aa3dfb4 Updating documentation. 2022-03-30 02:19:13 +02:00
sergiotarxz e67a4cf593 Refactoring the generate_build method to return a Peace::Model::Build object. 2022-03-30 02:17:27 +02:00
sergiotarxz 3e331d7b1a Refactoring the Peace::Model::Release generate_build method. 2022-03-30 01:54:03 +02:00
sergiotarxz 5eb44406a9 Fixing broken integration test and improving the build generation.
To avoid the app_id duplicity the app now checks that the given
app_id is the same that the repo app_id and fails if it isn't (untested yet)
also if the sdk or runtime is installed at operative system level, the
installation is skipped to be able to avoid the major source of overhead
in the build.

The build system has been rethinked so a release can have multiple
builds to the same architecture if one was unsuccessful. This may
help repositories which choose to release against a branch, if
you release against a tag you will probably have to make other
release fixing the error anyway.
2022-03-29 19:18:17 +02:00
sergiotarxz 20b74912fa Adding a app_id field to applications database which must remain unique. 2022-03-29 18:47:25 +02:00
sergiotarxz cd17423eb5 Improved the Peace::Model::Release generate_build. 2022-03-29 01:03:02 +02:00
sergiotarxz a2cf90ca29 Adding a still very incomplete method to generate builds from releases. 2022-03-28 03:23:17 +02:00
sergiotarxz dfa0948149 Adding a mock object for Peace::Model::Build. 2022-03-28 00:01:22 +02:00
sergiotarxz 29b115ca00 Adding a simple test to ensure Peace::Model::Build can be instanced. 2022-03-27 23:47:58 +02:00
sergiotarxz 9f5d36fa89 Adding Peace::Model::Build with a simple compilation test
to be extended.
2022-03-27 20:22:26 +02:00
sergiotarxz a4dfabde09 Adding a release dao test, refactoring the tests of application dao. 2022-03-25 16:43:25 +01:00
sergiotarxz 898b1af4a6 Tests improvements.
release-dao integration test, fixing broken docs,
fixing broken test at t/00008-application-dao.t
2022-03-25 02:12:32 +01:00
sergiotarxz 21cf5e1b85 Adding release dao and improving tests. 2022-03-25 01:08:44 +01:00
sergiotarxz fb50274fd3 Adding flatpak_repo to the possible fields in applications.
This is done so people can choose between flathub stables or
nightly external repositories.
2022-03-24 23:57:09 +01:00
sergiotarxz ea7c5b7471 Adding test for the recovery from uuid of application. 2022-03-24 19:06:01 +01:00
sergiotarxz 436edcef00 Adding Release Model and multiple doc improvements. 2022-03-24 18:52:35 +01:00
sergiotarxz 8ad9fcb01f Avoiding the development script to generate documentation to be installed.
It simply wont work anyway.
2022-03-18 07:36:33 +01:00
sergiotarxz d90aa43644 Finishing the documentation of already created modules. 2022-03-18 07:27:55 +01:00
sergiotarxz 1061a5168a Adding documentation from Peace::DAO::Application
Fixed some types on the Developer's DAO doc.
2022-03-18 06:54:10 +01:00
sergiotarxz ce8df4567b Adding documentation for the Peace::DAO::Developer object. 2022-03-18 01:17:25 +01:00
sergiotarxz b17bc3b8dc Improving the hrefs. 2022-03-17 18:52:24 +01:00
sergiotarxz cce5201ddd Improving the database doc. 2022-03-17 18:18:30 +01:00
sergiotarxz 823c0633fb Adding a documentation index. 2022-03-17 18:07:01 +01:00
sergiotarxz 18fd0de544 Adding the modified documentation html to the repo. 2022-03-17 17:41:34 +01:00
sergiotarxz 57b73c1b14 Adding documentation for all models and a test to check all documentation. 2022-03-17 17:32:56 +01:00
sergiotarxz 0b0a8991c3 Adding the generated html. (Some of it is still a stub.) 2022-03-17 05:09:36 +01:00
sergiotarxz ddf1753c71 Adding a script to autogenerate documentation. 2022-03-17 05:08:43 +01:00
sergiotarxz 3433112546 Adding some docs. 2022-03-17 05:08:05 +01:00
sergiotarxz 04824db8f4 Testing using the helper in the developer model to retrieve the applications
instead of the dao function in application.
2022-03-17 02:44:09 +01:00
sergiotarxz 138e21137a Adding application recovery from developer. 2022-03-17 02:41:47 +01:00
sergiotarxz 865c61d036 Adding missing model object and tests for dao. 2022-03-16 18:00:22 +01:00
sergiotarxz ec313dada3 Adding a database access object for application with options
to create and fetch applications.
2022-03-16 17:05:10 +01:00
sergiotarxz b869ac5694 Perltiding the test. 2022-03-16 16:13:44 +01:00
sergiotarxz 5576588705 Adding tests for the developer model. 2022-03-16 16:11:27 +01:00
sergiotarxz 156e69c825 Adding functional test of database integration.
Since the project is not functional still I made the changes
needed in database in order of it to work directly over the
creation migration.
2022-03-15 17:41:42 +01:00
sergiotarxz 94eafe55a2 Adding more tests and fixing detected errors. 2022-03-15 17:34:14 +01:00
sergiotarxz c567043dc2 Adding a note about the icon authorship 2022-03-15 03:18:15 +01:00
sergiotarxz d08f3d66af Adding icons for the store. 2022-03-15 03:17:23 +01:00
sergiotarxz b2758ddf96 Fixing errors in customer, adding developer.
Improving migrations, adding/fixing tests.
2022-03-15 02:45:16 +01:00
sergiotarxz 4a3a3b9e36 Adding auto recovery of database generated data in creation. 2022-03-14 19:47:22 +01:00
sergiotarxz 7ffeac7bc7 Adding customer object. 2022-03-14 19:14:05 +01:00
sergiotarxz f21aae07de Adding database migrations. 2022-03-14 15:31:37 +01:00