Commit Graph

254 Commits

Author SHA1 Message Date
dependabot[bot] a93f1227ef
Bump golang.org/x/net from 0.17.0 to 0.23.0 (#95)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-20 17:11:28 +02:00
Javi Fontan 1f3f7dd3d8
server: add read only mode (#92)
In read only mode the endpoint to save new effects or add new versions
is deactivated. Also in the gallery the create button is deactivated and
there is a notice that says:

    The server is in maintenance mode. You can not create or modify effects.

The button to save effects in the editor is not deactivated as it will
take a bit more time and wanted to have the page up as soon as possible.
2024-01-08 21:53:18 +01:00
dependabot[bot] b0a0012cda
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#90)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 00:30:06 -08:00
dependabot[bot] 4e59949fee
Bump golang.org/x/net from 0.7.0 to 0.17.0 (#89)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 11:12:34 +02:00
Javi Fontan 4a4d3884aa
goreleaser: updates to make it work with new version
* archives.replacements was deprecated in the configuration file https://goreleaser.com/deprecations/#archivesreplacements
* parameter `--rm-dist` is now `--clean`

Fixes #88
2023-08-19 11:26:52 +02:00
Javi Fontan 9df8858cb5
Dockerfile: upgrade base image so it uses a compatible glibc 2023-08-18 21:51:28 +02:00
Javi Fontan 68e445220f
Enable CORS header in `/item` (#87)
* go: upgrade go compiler to 1.21

Use crypto/rand instead of math/rand as it is now the recommended
method.

* server: add cors configuration to items

This lets other web pages use it as an external API.

* go.mod: upgrade go version and indirect dependencies
2023-08-18 21:43:07 +02:00
Javi Fontan a554127ef7
Fix build errors 2023-02-22 11:01:31 +01:00
Javi Fontan 0ff485f889
Upgrade compiler and dependencies to fix security alerts 2023-02-22 10:47:53 +01:00
Javi Fontan 13f23a5ebe
Upgrade go compiler to 1.19 (#84)
Version 1.16 was already unsupported and I believe is causing errors
generating binaries.
2022-10-07 19:10:42 +02:00
dependabot[bot] 0fa2c09fbc
Bump github.com/labstack/echo/v4 from 4.3.0 to 4.9.0 (#83)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.3.0 to 4.9.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.3.0...v4.9.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 14:24:32 +02:00
mrdoob 07adad2674
Create a simpler webgl context. 2022-01-24 19:34:29 +00:00
Mr.doob e0878a95c2
Set highp floats by default. 2021-10-28 13:08:39 +01:00
Mr.doob 7da7750534 Improved gallery button behaviour. 2021-10-19 16:45:19 +01:00
monsieurbadia a3ee2864f6
design the `login` page (#79)
* design the `login` page

* remove `forgot password`
2021-10-19 16:37:32 +01:00
Mr.doob 0c48c11c75 Back button when coming from the gallery. 2021-10-19 16:28:19 +01:00
Mr.doob c01dbdc8fa
Disable the canvas browser filtering. 2021-10-18 13:40:53 +01:00
Mr.doob 36a5725876
Set height 100% to html and body. 2021-10-18 13:36:02 +01:00
Jan Scheurer 15be19376d
Fix broken pan/zoom introduced in v0.1.15 (1b01b6aeb0) (#78)
Co-authored-by: Jan Scheurer <js@xe-development.com>
2021-10-14 19:27:30 +01:00
Javi Fontan 96cc499464
Do not panic on gallery render error (#76)
Fixes #73
2021-10-01 13:57:37 +02:00
Javi Fontan f6b1eccf5d
Use C sqlite library for docker builds (#75) 2021-09-19 21:45:11 +02:00
Mr.doob 373aeef34a
Use env(safe-area-inset-top) in toolbar's top padding. 2021-09-15 17:20:44 +01:00
Mr.doob 3dd85afaf6
Fixed fullscreen not going edge-to-edge in Android phones with hole-punch camera. 2021-09-15 17:10:29 +01:00
Mr.doob d0b13de372 Clean up. 2021-09-13 18:37:47 +01:00
Mr.doob 323da62d0d Improved mobile layout. 2021-09-13 18:33:42 +01:00
Mr.doob a7562fbe0b Clean up. 2021-09-07 14:50:39 +01:00
Mr.doob 09ba75a950 Use webkitRequestFullscreen instead of webkitRequestFullScreen. 2021-09-07 13:35:23 +01:00
Mr.doob 84df5e0234 Added /e_ to compare old behaviours. 2021-09-06 21:09:20 +01:00
Mr.doob 1931a2f6af Implemented exitFullscreen(). 2021-09-06 21:08:28 +01:00
Mr.doob fc17bda048 Clean up. 2021-09-06 21:07:24 +01:00
Mr.doob 0fbbe572c7
Fix edge to edge fullscreen on Android. 2021-08-19 21:19:19 +01:00
Mr.doob e4eb8e69a4
Fixed Fullscreen API usage. 2021-08-15 19:37:19 +01:00
Mr.doob 3b1c71d4ae
Removed mozRequestFullScreen. 2021-08-15 18:31:26 +01:00
Mr.doob 2eea81de85
Make fullscreen go edge to edge on Android. 2021-08-15 18:30:02 +01:00
Mr.doob 012ecb07e5 Improved fullscreen button. 2021-08-15 16:59:53 +01:00
Mr.doob ad69f9e592 Removed resizer.png synlink. 2021-08-15 16:58:22 +01:00
Mr.doob 1b01b6aeb0 Removed resizer code. 2021-08-15 15:25:21 +01:00
Mr.doob d101fe7181 Restore quality selector. 2021-08-15 15:24:37 +01:00
Mr.doob a92a859933 Revert "Change default quality to 2 and reduce goodframes check to 100."
This reverts commit 178b66751a.
2021-08-15 14:48:49 +01:00
Mr.doob afab138efa Improved codemirror style. 2021-08-14 12:21:37 +01:00
Mr.doob ffb83df6a7 Improved gallery buttons style. 2021-08-14 12:21:19 +01:00
Mr.doob 94e33c42f0 Improved editor buttons style and made them fadein/out. 2021-08-14 12:20:52 +01:00
Mr.doob 178b66751a
Change default quality to 2 and reduce goodframes check to 100. 2021-08-12 20:35:17 +01:00
Mr.doob 026e70b484 Replaced mousemove with pointermove. 2021-08-12 18:10:44 +01:00
Mr.doob 7416a7e381 Fixed mobile breakage. 2021-08-12 18:10:27 +01:00
Mr.doob 712a96cec9
Replaced quality select with dynamic quality (#71)
* Replaced quality select with dynamic quality.

* Improved dynamic quality code.

* Clean up.
2021-08-12 17:48:31 +01:00
Mr.doob 34c87d40ed Diff page clean up. 2021-08-12 16:19:05 +01:00
Mr.doob fc6bf0c9bb
Improved diff page. (#70) 2021-08-12 16:06:55 +01:00
Mr.doob 73df44bdf8 Improved gallery buttons styling. 2021-08-12 13:29:24 +01:00
Mr.doob 9ce2156351
Hide code by default (except when new shader) (#69)
* Hide code by default.

* Clean up

* Removed css transition prefixes.

* Improved buttons styling
2021-08-12 13:14:25 +01:00