Commit graph

435 commits

Author SHA1 Message Date
Andras Bacsai
bb8cc467ab fix(api): correct middleware for service update route to ensure proper permissions 2025-04-22 11:16:45 +02:00
Andras Bacsai
91f2865635 refactor(api): restructure routes to include versioning and maintain existing feedback endpoint 2025-04-22 11:05:55 +02:00
peaklabs-dev
04349d9b05
chore(core): remove redocs
- It is not well maintained (no Laravel 12 Support) and does not work anyway.
2025-03-31 18:33:52 +02:00
__m__
3b04d3df91 feat(deployments): add list application deployments api route 2025-03-31 12:31:17 +01:00
Andras Bacsai
120facfca3 feat(api): unify service creation endpoint and enhance validation 2025-03-21 11:31:17 +01:00
Meghea Iulian
d08774d083
feat(api): update Services api routes and handlers 2025-03-20 08:28:28 +02:00
Meghea Iulian
d16888b707
feat(api): separate create and one-click routes
Moves previous POST /services to POST /services/one-click.
Adds new POST /services that takes a docker_compose.
2025-03-19 10:22:34 +02:00
Meghea Iulian
5a7ced9438
feat(api): add api to create custom services
Add separate API to create services with custom Docker compose instead
of oneclick services implement as a POST to /services/compose.
This is somewhat similar to /applications/dockercompose but that API is
the only one in ApplicationsController that actually works with the `Service` model.
2025-03-19 06:51:20 +02:00
Vann
11a5ec7c38 feat: add lines query parameter 2025-02-02 13:43:31 +00:00
Van-Dev
b1d6167e89
feat: add application api route 2025-02-01 22:09:59 +07:00
peaklabs-dev
23ae0677eb
feat: move docker cleanup to its own tab 2025-01-15 14:02:33 +01:00
Andras Bacsai
a85215e2d3 refactor: remove commented-out unsubscribe route from API 2025-01-13 09:21:18 +01:00
Andras Bacsai
70db50def6 fix: update response message for sentinel push route
- Removed the temporary unavailability message from the /sentinel/push route to allow for proper handling of authorization without misleading responses.
- This change improves the clarity of the API response when the authorization token is not provided.
2025-01-10 20:28:11 +01:00
Andras Bacsai
a396d51452
Merge branch 'next' into hotfix 2025-01-10 20:23:29 +01:00
Andras Bacsai
3111cdd15b fix: enable response for temporary unavailability in sentinel push endpoint 2025-01-10 12:08:22 +01:00
Andras Bacsai
b09f0043d1 fix: restrict jobs on cloud
fix: restrict sentinel endpoint
2025-01-10 11:54:45 +01:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
Andras Bacsai
9e3467578f feat: add environment_uuid support and update API documentation
- Introduced `environment_uuid` as a required field in various API endpoints and schemas.
- Updated descriptions to clarify that either `environment_name` or `environment_uuid` must be provided.
- Modified routes and controller methods to accommodate the new UUID parameter.
- Adjusted frontend components to utilize `environment_uuid` for better consistency and clarity.
- Removed deprecated fields related to environment handling.

This change enhances the API's flexibility in identifying environments, improving overall usability.
2024-12-17 13:42:16 +01:00
Andras Bacsai
bf9d89f279
Merge branch 'next' into fix-environement-route 2024-12-17 12:17:50 +01:00
Andras Bacsai
38256af9b3 fix: refactor database view 2024-12-17 12:10:55 +01:00
Andras Bacsai
b7748479d4 fix: service ui structure 2024-12-17 11:13:17 +01:00
Andras Bacsai
e76817d401 improve application view 2024-12-16 14:11:45 +01:00
Andras Bacsai
e5f534b6ef fix: pushover 2024-12-12 08:40:34 +01:00
Zao Soula
ef35429533 feat(notification): add Pushover 2024-12-11 18:13:16 +01:00
peaklabs-dev
014c6dc446
chore: remove unused route 2024-12-09 20:30:39 +01:00
🏔️ Peak
fdf757c7ae
Merge branch 'next' into separate-success-and-failure-notifications 2024-12-09 18:15:41 +01:00
peaklabs-dev
d9248508b4
chore: remove unused waitlist stuff 2024-12-09 12:00:54 +01:00
Andras Bacsai
3fa7d03db7 fix: root + read:sensive could read senstive data with a middlewarew 2024-12-09 11:10:35 +01:00
Andras Bacsai
5bbcd7bf76 fix: add middleware to new abilities, better ux for selecting permissions, etc. 2024-12-09 10:28:34 +01:00
Andras Bacsai
78f0ac80c1 Merge branch 'next' into feat/deployment-token 2024-12-09 09:16:59 +01:00
peaklabs-dev
976899a10a
Update api.php 2024-11-22 15:30:51 +01:00
peaklabs-dev
5737a6d37f
new routes for environment with uuid 2024-11-22 15:30:46 +01:00
Marvin von Rappard
40fb73ee8e fix: import NotificationSlack correctly 2024-11-20 13:01:56 +01:00
Marvin von Rappard
7bdac8b42f
Merge branch 'next' into main 2024-11-14 12:54:04 +01:00
peaklabs-dev
f55bb5b0fb
remove resale license 2024-11-13 18:38:22 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
peaklabs-dev
b810a96f2a
Update web.php 2024-11-12 16:53:55 +01:00
Andras Bacsai
7253041e15 feat: add internal api docs to /docs/api with auth 2024-11-12 13:49:40 +01:00
Andras Bacsai
a297c9fcab fix: better invitation errors 2024-11-07 12:32:23 +01:00
Andras Bacsai
bfad7c7d7f remove unnecesary route 2024-11-05 10:32:21 +01:00
Andras Bacsai
ae7d88df9f fix: refactor tags view / remove obsolete one 2024-11-05 10:11:15 +01:00
Andras Bacsai
7fb1a1fc75 fix: use Auth(), add new db proxy stop event refactor clickhouse view 2024-11-04 14:18:16 +01:00
Kael
56c8056a8f
Merge branch 'next' into feat/deployment-token 2024-11-04 23:33:26 +11:00
Andras Bacsai
d4c3a27da7 refactor web.php 2024-11-03 22:20:44 +01:00
Andras Bacsai
4ed76f88f8 fix: destinations livewire refactor
removed unnecessary livewire components, renamed them ,etc etc
2024-11-03 22:19:41 +01:00
Andras Bacsai
2df27f3a4f fix: remove unnecessary endpoints (magic) 2024-11-03 21:27:39 +01:00
Andras Bacsai
38fad7e6fd asd 2024-11-03 14:59:21 +01:00
Andras Bacsai
ca7c214775 fix: new way to update container statuses 2024-11-03 09:02:14 +01:00
Kael
b9597e53e1 Merge branch 'next' into feat/deployment-token 2024-11-01 16:55:00 +11:00
Lucas Michot
8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Lucas Michot
0c133b113c Delete some useless imports 2024-10-31 16:33:49 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Kael
6520235667 middleware should allow, not deny 2024-10-30 19:06:50 +11:00
Kael
d4d63ff273 feat: add deploy-only token permission 2024-10-30 17:00:55 +11:00
Lucas Michot
c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Lucas Michot
d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
Jeremy Angele
6bc9e77714 Add team authorization for gitlab sources 2024-10-27 17:08:14 +01:00
Andras Bacsai
e66522308e Refactor function and configuration names for experimental features 2024-10-25 08:39:58 +02:00
Andras Bacsai
9a227dbad6 feat: terminal views for servers
improvement: connect to container if only one available
2024-10-24 12:21:36 +02:00
Andras Bacsai
2702fbc284 Refactor logging in PushServerUpdateJob, Application, and SentinelSeeder 2024-10-15 17:03:50 +02:00
Andras Bacsai
73923a0207 fix: metrics 2024-10-15 15:33:05 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Andras Bacsai
b2e515f770 sentinel 2024-10-14 13:32:36 +02:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00
Andras Bacsai
d75e55111a chore: Update web.php to cast server port as integer 2024-09-27 17:26:27 +02:00
Andras Bacsai
b570ccd7d3 format 2024-09-23 19:51:31 +02:00
Andras Bacsai
0222aa137d feat(api): add endpoint to execute a command 2024-09-23 11:09:14 +02:00
Andras Bacsai
4d36bc4742
Merge pull request #3535 from Luca-Sordetti/main
feat(api): add an endpoint to execute a command
2024-09-23 10:53:28 +02:00
Luca-Sordetti
4e167dc539
feat(api): add an endpoint to execute a command 2024-09-22 12:38:25 +02:00
peaklabs-dev
dbc723089b
Feat: Delete unused private keys button 2024-09-19 19:27:25 +02:00
peaklabs-dev
8153e2f63b
Merge branch 'coollabsio:main' into fix-ssh-keys 2024-09-18 20:43:59 +02:00
Andras Bacsai
e937d30545 fix: move terminal to separate view on services 2024-09-17 17:15:34 +02:00
peaklabs-dev
86722939cd
Fix. Remove write to SSH key on every remote command execution 2024-09-16 21:34:27 +02:00
Andras Bacsai
f124a1e60d chore: Update terminal button text and layout in application heading view 2024-09-16 10:56:11 +02:00
Andras Bacsai
51c43e7457 chore: Rename Command Center to Terminal in code and views 2024-09-13 15:18:00 +02:00
Andras Bacsai
33e9c9b0f9
Merge branch 'next' into feat--terminal-pty 2024-09-11 10:41:33 +02:00
Andras Bacsai
8d2b280b03 chore: Add middleware for updating environment variables by UUID in api.php routes 2024-09-06 10:48:25 +02:00
Gabriel Galer
69794f4ca8 Update api.php routes to include middleware for updating environment variables by UUID 2024-09-06 08:31:32 +03:00
Gabriel Galer
4e1663e9db Fix bulk rename problems in api.php 2024-09-06 00:10:40 +03:00
Gabriel Galer
ab055e0692 Update api.php routes 2024-09-05 23:58:52 +03:00
Luan Estradioto
548fc21e40 added ws authentication 2024-08-15 11:17:18 -03:00
Andras Bacsai
ea3e4f3188 fix: database custom environment variables 2024-08-13 14:25:24 +02:00
Andras Bacsai
b77171d2f2 fix: settings view
feat: add separate views for settings
2024-08-06 14:36:56 +02:00
Andras Bacsai
189a8347ed feat: add server api endpoints 2024-07-23 14:20:53 +02:00
Andras Bacsai
e96e8f6fec feat: add patch request to projects 2024-07-23 11:48:38 +02:00
Andras Bacsai
38299ab507 feat: create/delete project endpoints 2024-07-23 11:36:05 +02:00
Andras Bacsai
6c1e50a914 fix: backup downloads 2024-07-19 13:45:04 +02:00
Andras Bacsai
c72fd2fc9d openapi databases 2024-07-09 13:19:21 +02:00
Andras Bacsai
2d3a6a4528 openapi work work 2024-07-09 10:45:10 +02:00
Andras Bacsai
9c821e2480 init openapi generator 2024-07-06 14:34:15 +02:00
Andras Bacsai
efa2ae5177 api api api api 2024-07-04 13:45:06 +02:00
Andras Bacsai
b24a489c77 fix: api updates 2024-07-03 13:13:38 +02:00
Andras Bacsai
4459c9f73d feat: api api api api api api 2024-07-02 16:12:04 +02:00
Andras Bacsai
3c13f1ff61 feat: restart database
feat: public dbs stay public after restart
feat: patch database conf
2024-07-02 13:39:44 +02:00
Andras Bacsai
c39d6dd407 feat: token permissions
feat: handle sensitive data
feat: handle read-only data
2024-07-02 12:15:58 +02:00
Andras Bacsai
da6f2da3d0 feat: lots of api endpoints 2024-07-01 16:26:50 +02:00
Andras Bacsai
30b7e831c0 feat: new app API endpoint 2024-06-28 15:05:37 +02:00
Andras Bacsai
2a52fb5872 feat: bulk env update api endpoint 2024-06-26 13:32:36 +02:00
Andras Bacsai
f45b3cab55 feat: more API endpoints 2024-06-26 13:00:36 +02:00