Commit Graph

129 Commits

Author SHA1 Message Date
mntmn
b60cd0ffa7 Merge branch 'mnt' of github.com:spacedeck/spacedeck-open into mnt 2020-09-22 15:22:08 +02:00
mntmn
bd8667feba space: fix background image attachment 2020-09-22 15:21:39 +02:00
Omid
a6616f3463 Add missing config for s3 storage (#96)
This var `storage_endpoint` will be read and used at 3eb99d2635/helpers/uploader.js (L14)
2020-09-19 19:12:51 +02:00
nblock
3eb99d2635 Make host and port configurable (#94)
Use the previous values as the default.
2020-09-16 11:20:13 +02:00
mntmn
09b42f24c2 remove stray character in toolbar template 2020-09-16 11:02:07 +02:00
mntmn
a8b8e36ad3 wip: migrate from deprecated swig templates to ejs 2020-09-09 17:20:35 +02:00
mntmn
b4f0fa16ef wip: remove basic-auth (unused) 2020-09-09 16:24:30 +02:00
Mishkin Berteig
dccf0465b3 Fix to issue #71 Cursor positions on shared whiteboards are inconsistent (#86)
* Fixed "Cursor Positions on Shared Whiteboards are Inconsistent".

The main fix is in the method cursor_point_to_space in
public/javascripts/spacedeck_whiteboard.js.

The calculation of the coordinates of the mouse pointer from absolute
window to the whiteboard space coordinates was incorrect.

There were a number of dependencies on this method which were updated
as a result.

One side-effect was that the div for the lasso tool needed to be
moved inside the div for the whiteboard.

* Fixed minor panning calculation problem.  Works now!
2020-09-09 16:11:43 +02:00
foramontano
7f72992d06 Foramontano/adding languages (#89)
- Doc that describes the steps to add a new language  to Spacedeck Open
- New file with translated entries for using in Spacedeck Open in Spanish
- Include 'es' as new locale in Spacedeck Open
- Include a radiobutton for users could select the new language
2020-09-09 16:05:55 +02:00
Mishkin Berteig
ff1da80695 Docs Folder (#84)
* Initial documentation folder with instructions on adding fonts.

* fixed markdown syntax error

* Update adding_fonts.md

Added some links to the referred code lines and fixed some formatting.

Co-authored-by: mntmn <lukas@mnt.mn>
2020-07-25 21:38:06 +02:00
yrammos
83928dee3b Fix #58 ('duplicate column name' on fresh install). (#81) 2020-07-24 01:35:43 +02:00
Mishkin Berteig
28f4c5d58b Fixed star and starburst objects so that they render properly within… (#79)
* Fixed star and starburst objects so that they render properly withing the selection bounding box. Lots of math. Still to do is to handle situations when the bounding box is very small and the stroke width of the star[burst] makes the interior corners overlap.  Currently causes weird rendering.

* Fixed some minor typos and formatting errors in the comments.  No changes to executable code.
2020-07-24 01:35:18 +02:00
mntmn
6e4685e589 Update README.md 2020-07-22 22:01:40 +02:00
Mejans
9c44aee57a i18n Add Occitan language (#80)
* Create oc.js

* Add OC to locale list

* Add OC

* Add OC to list

* Update spacedeck.html

* Update root.js
2020-07-22 21:55:32 +02:00
togir
c491af64d8 Keep the colors between drawing multiple scribbles and arrows (#61)
* Keep the colors between drawing multiple scribbles and arrows

The color is changed back to black on every new drawing. Now the color is kept. If there is no color is set, then there is a fallback to the black stroke as before.

* requested changes

Co-authored-by: togir <gitcatch@weiler.rocks>
2020-07-22 21:53:51 +02:00
Florian Kohrt
6bbeb4383d fix #60: add ffmpeg package (#66) 2020-06-24 15:26:34 +02:00
mntmn
0c5fa597e8 Allow embedding of folders and access to folders to anonymous editors with edit_hash/spaceAuth links (#63)
* add subspaces to be listed with edit_hash/spaceAuth authorization

* remove dead code from api_helpers.js

* add edit_hash authorization for requested space thumbnails

* handle /s/:hash links in frontend router

* set space_auth via a function, allow passing it to load_space

* rename variable in /s/:hash router in backend

* hide search, profile, breadcrumb in folders if not logged in, construct links to subspaces differently for anonymous editors
2020-06-02 20:47:58 +02:00
P. J. Reed
8ddbec6b68 Allow anonymous SMTP connections (#59)
This adds support for anonymously connecting to SMTP servers
that do not require authentication; if a username is not provided,
it will not attempt to authenticate.
2020-05-19 22:21:07 +02:00
Florian Kohrt
3ce40c51a6 Add docker files (#55)
* Add docker files

* Improve docker-compose compatibility

* Use Openstack's standard port

* Use package ffmpeg-dev instead of ffmpeg

* improve dockerfile and config

* Add short docker guide

* adhere to previous naming conventions

* document former json comments

* Undo init.sh approach to touching the db file

* Make clear that it's about files on the host system

* add local path specifier

Co-authored-by: Denys Vitali <denys.vitali@swisscom.com>
2020-05-19 22:19:43 +02:00
mntmn
077bf165c7 integrations: first version of Spacedeck integration for WordPress 2020-05-11 18:58:02 +02:00
mntmn
e5fc11d2cd update styles 2020-05-11 18:58:02 +02:00
mntmn
a185c1e3a6 helmet: disable protections for now 2020-05-11 18:58:02 +02:00
mntmn
effeb6c809 security: prevent leak of creator information in space responses; ensure home folder id is set when creating space 2020-05-11 18:58:02 +02:00
mntmn
e61bc1e23f remove space border 2020-05-11 18:58:02 +02:00
mntmn
051821e26d hide home button in embedded mode 2020-05-11 18:58:02 +02:00
mntmn
0a4399951a when space is embedded (?embedded=1), toggle fullscreen via present button 2020-05-11 18:58:02 +02:00
mntmn
f6cfef899e allow looking up spaces via slug 2020-05-11 18:58:02 +02:00
mntmn
b99ec300bb allow auth via api_token 2020-05-11 18:58:02 +02:00
mntmn
b93cc20371 users: add api_token attribute, make editable in profile/account 2020-05-11 18:58:02 +02:00
Dorthe Luebbert
46769691d8 Added Graphicsmagick as dependency (#52) 2020-05-11 18:55:13 +02:00
mntmn
43d21ddb6c space: scribble: make tool sticky, button toggles the tool 2020-04-19 13:58:17 +02:00
mntmn
b5c6a79c0c Merge branch 'mnt' of github.com:mntmn/spacedeck-open into mnt 2020-04-19 13:49:47 +02:00
mntmn
8e11b6c4fa space: fix touch handling 2020-04-19 13:49:40 +02:00
mntmn
a92b915bc3 fix password recovery 2020-04-09 22:21:55 +02:00
mntmn
f5a6adc43b remove unused modals 2020-04-09 21:46:23 +02:00
mntmn
40202ff416 fix logging in text on login button 2020-04-09 19:11:26 +02:00
mntmn
b07050095d remove production/development distinction for javascripts 2020-04-09 19:11:06 +02:00
mntmn
9cb04422d8 remove pdf import options 2020-04-09 19:10:34 +02:00
mntmn
d544caf4a7 anonymous editor: don't ask for username if already logged in 2020-04-09 18:05:07 +02:00
mntmn
2dbfae59f9 remove dead functions from folder 2020-04-09 17:56:47 +02:00
mntmn
e25a56e85c filter attributes on space PUT 2020-04-09 17:56:37 +02:00
mntmn
6f1744bc5d show share button only to admins 2020-04-09 17:50:48 +02:00
mntmn
fab2a61f83 fix error message for messing with space memberships 2020-04-09 17:37:49 +02:00
mntmn
9750f08606 bring back copy and paste of artifacts 2020-04-09 17:33:23 +02:00
mntmn
643b75ebe9 remove tiny piece of unused code 2020-04-09 17:27:14 +02:00
mntmn
2f39dd26be fix listing of invited-to-spaces in user's home folder 2020-04-09 17:26:58 +02:00
mntmn
3edde7c53c remove more dead code 2020-04-09 16:22:17 +02:00
mntmn
01a6bec80e fix loading space that user is member of 2020-04-09 16:20:29 +02:00
mntmn
bdb2e9fde5 clean up space memberships table; clean up terminate account view 2020-04-09 15:37:51 +02:00
mntmn
7cf68c94a5 remove unused templates 2020-04-09 15:26:28 +02:00