Commit graph

81 commits

Author SHA1 Message Date
Benjamin Tissoires
048c3cd14d snap: also generate the html doc of the REST API
Same for snap: embed the documentation of the REST API
in the snap.
2019-01-18 19:33:08 +01:00
Benjamin Tissoires
c83cdc9335 Add openapi in snaps
Same thing than in the Dockerfile, snaps need
to embed the current openapi yaml file.
2019-01-18 17:07:18 +01:00
Benjamin Tissoires
e91e3c076d snapcraft add nodejs and npm as build dependencies
When pulling the docker container snapcore/snapcraft
to build the snap, those 2 packages are not present
by default leading to a failure in the snap creation.

Note: it is good to call `apt-get update` before
`snapcraft` or the build will fail.
2019-01-18 17:05:41 +01:00
Lauri Ojansivu
77ff6349f6 - Use Node 8.15.0 and MongoDB 3.2.22.
- Stacksmith: back to Meteor 1.6.x based Wekan, because Meteor 1.8.x based is currently broken.

Thanks to xet7 !
2018-12-26 22:29:04 +02:00
Lauri Ojansivu
f7153da83d - Upgrade to node v8.14.1
Thanks to xet7 !
2018-12-21 22:11:43 +02:00
Lauri Ojansivu
c546464d9f - Because scrollbar uses [remote file from CDN](https://github.com/MaazAli/Meteor-Malihu-Custom-Scrollbar/blob/master/jquery.mCustomScrollbar.js#L50),
fork package to https://github.com/wekan/wekan-scrollbar and include
  non-minified file locally to Wekan, so that using scrollbar works without direct connection
  to Internet. Wekan should not load any external files by default, as was case before
  new scrollbar, and is again now after this fix.

Closes #2056
2018-12-14 23:13:15 +02:00
Lauri Ojansivu
fe7c4528d7 - Upgrade Node from v8.12 to v8.14
- Revert non-working architectures that were added at v1.79, so now Wekan is just amd64 as before.

Thanks to xet7 !
2018-12-03 18:19:25 +02:00
Lauri Ojansivu
3e03f557cf - Build snap also on i386, armhf and arm64. Ignore if it fails.
Most likely armhf and arm64 does not build yet, I will add fixes later.

Thanks to xet7 !

Related #1503,
related wekan/wekan-snap#46
2018-12-02 23:12:45 +02:00
Lauri Ojansivu
cb9ced756f - [Fix Snap database-list-backups command](https://github.com/wekan/wekan-snap/issues/26). Thanks to WaryWolf.
Closes wekan/wekan-snap#26
2018-11-19 23:28:37 +02:00
Lauri Ojansivu
20af78e50b - Back to Meteor 1.6.0.1 and MongoDB 3.2.21 to make Snap work.
Thanks to xet7 !
2018-10-23 14:15:33 +03:00
Lauri Ojansivu
11b7ade355 - Try some changes to snap.
Thanks to xet7 !
2018-10-11 01:58:13 +03:00
Lauri Ojansivu
74a89e6610 - Try MongoDB 4.0.3
Thanks to xet7 !
2018-10-10 18:48:24 +03:00
Lauri Ojansivu
1b65cbd3db - Try to get latest npm. 2018-10-10 17:31:52 +03:00
Lauri Ojansivu
644376a356 - Try to fix snap.
Thanks to xet7 !
2018-10-10 17:06:11 +03:00
Lauri Ojansivu
db757f20b3 Try to fix snap 2018-10-10 16:57:07 +03:00
Lauri Ojansivu
dd47d46f43 - Use Meteor 1.8.1-beta.0
Thanks to xet7 !
2018-10-10 15:39:54 +03:00
Lauri Ojansivu
f599391419 - Add LDAP package to Docker and Snap.
Thanks to xet7 !
2018-10-10 01:38:59 +03:00
Lauri Ojansivu
bd6e4a351b Add CAS with attributes.
Thanks to ppoulard !
2018-09-28 00:23:31 +03:00
Lauri Ojansivu
7ec7a5f27c - Use official Node v8.12.0
Thanks to xet7 !
2018-09-17 18:52:30 +03:00
Lauri Ojansivu
0cb3aee803 - Upgrade to MongoDB v3.2.21
Thanks to xet7 !
2018-09-10 00:54:08 +03:00
Lauri Ojansivu
d68ad5af04 Add Caddy plugins:
- [http.filter](https://caddyserver.com/docs/http.filter)
  for changing Wekan UI on the fly, for example custom logo,
  or changing to all different CSS file to have custom theme;
- [http.ipfilter](https://caddyserver.com/docs/http.ipfilter)
  to block requests by ip address;
- [http.realip](https://caddyserver.com/docs/http.realip)
  for showing real X-Forwarded-For IP to behind proxy.

Thanks to Caddy contributors and xet7 !
2018-08-22 16:16:56 +03:00
Lauri Ojansivu
53c0a52788 Remove Trello. 2018-08-14 21:22:46 +03:00
Lauri Ojansivu
04d7c47f4c Update node to v8.12.0 prerelease build. 2018-08-04 21:47:02 +03:00
Lauri Ojansivu
9c94ea58b4 Revert snap changes. 2018-08-04 18:47:46 +03:00
Lauri Ojansivu
9f65696fcc Try to fix snap. 2018-08-04 16:47:21 +03:00
Lauri Ojansivu
5bfb6c6411 Check for existing directories when building snap. 2018-07-30 21:27:22 +03:00
Lauri Ojansivu
a48f560a85 No error if existing directory, with mkdir. 2018-07-30 21:18:04 +03:00
Lauri Ojansivu
c26a31f498 v1.14 2018-07-06 11:42:56 +03:00
Lauri Ojansivu
5220111822 v1.13 2018-07-06 01:14:02 +03:00
Lauri Ojansivu
766b58d91b v1.08 2018-06-27 11:06:37 +03:00
Lauri Ojansivu
90d55777f7 Copy latest Sandstorm Node.js fork binary from installed Sandstorm
/opt/sandstorm/sandstorm-234/bin/node to https://releases.wekan.team
download server.

Node binary is compiled by https://github.com/kentonv
when doing new release of Sandstorm.

Source code of binary is at:
https://github.com/sandstorm-io/node
2018-06-07 21:54:08 +03:00
Lauri Ojansivu
63c1ef9f9e Actually, without @latest it works the same. 2018-05-26 08:47:37 +03:00
Lauri Ojansivu
0cc183682e Use latest npm. 2018-05-26 08:43:20 +03:00
Lauri Ojansivu
4d193f5650 Remove bcrypt, continued. 2018-05-26 08:28:16 +03:00
Ondrej Kubik
1117d1c2ae filtering out swap file created at build time, adding stage package
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
2018-05-25 13:49:24 +00:00
Lauri Ojansivu
106b135eba Use NPM 6.0.1 2018-05-19 18:13:43 +03:00
Lauri Ojansivu
8101d7ade8 MongoDB v3.2.20 2018-05-19 17:05:28 +03:00
Lauri Ojansivu
3b6ec34bf5 Try to fix snap build 2018-04-27 15:09:57 +03:00
Lauri Ojansivu
25668eb7c4 Try to fix snap 2018-04-27 13:23:09 +03:00
Lauri Ojansivu
6d21ffe660 Try to fix snap. 2018-04-27 12:42:33 +03:00
Lauri Ojansivu
7b91b341fe Removed not-used plugins part of Caddy download URL.
Thanks to xet7 !
2018-04-20 18:40:20 +03:00
Lauri Ojansivu
075ea1c43d Use override-build instead of old deprecated prepare/build/install.
https://github.com/canonical-docs/snappy-docs/blob/master/deprecation-notices/dn7.md

Thanks to kyrofa !

Closes wekan/wekan-snap#45
2018-04-20 18:30:48 +03:00
Lauri Ojansivu
179ff7a124 Use curl to download 100% CPU usage fibers fixed node in snap. 2018-04-18 19:04:08 +03:00
Lauri Ojansivu
ce65963217 Removed paxctl alpine fix #1303 , because it did not work anymore.
Thanks to xet7 !

Closes #1594
2018-04-18 18:19:22 +03:00
Lauri Ojansivu
e26a4824cf Fix Node Fibers 100% CPU issue.
Thanks to kentonv !

Related wekan/wekan-mongodb#2, related meteor/meteor#9796
2018-04-16 21:18:09 +03:00
Lauri Ojansivu
05f1d197f5 Remove warnings about Docker. MongoDB to 3.2.19. 2018-04-04 13:42:45 +03:00
Lauri Ojansivu
10f24a8a8a Use personal license for non-commercial use only for Caddy.
Related wekan/wekan-snap#39
2018-03-21 12:41:29 +02:00
Lauri Ojansivu
0495e61c28 Change snap to previous MongoDB version 3.2.18 because of data loss:
https://github.com/wekan/wekan-mongodb/issues/9
2018-03-15 18:54:03 +02:00
Lauri Ojansivu
65beb89944 MongoDB 3.2.19 2018-03-06 01:08:56 +02:00
Ondrej Kubik
9084158aec Adding network hooks for configure hook to fix security denials
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
2018-03-01 11:53:21 +00:00