girish@cloudron.io
bcb0e61bfc
Kill child processes
...
On Unix, child processes are not killed when parent dies.
Each process is part of a process group (pgid). When pgid == pid,
it is the process group leader.
node creates child processes with the parent as the group leader
(detached = false).
You can send a signal to entire group using kill(-pgid), as in,
negative value in argument. Systemd can be made to do this by
setting the KillMode=control-group.
Unrelated: Process groups reside inside session groups. Each session
group has a controlling terminal. Only one process in the session
group has access to the terminal. Process group is basically like
a bash pipeline. A session group is the entire login session with only
one process having terminal access at a time.
Fixes #543
2016-01-21 17:44:17 -08:00
girish@cloudron.io
022ff89836
Add 0.6.6 changes
2016-01-21 15:57:22 -08:00
girish@cloudron.io
b9d4b8f6e8
Remove docker images by tag
...
docker pull previously used to pull down all tags.
docker pull tag1 # might pull down tag2, tag3 if they are all same!
docker rm tag1 # oops, tag2 and tag3 still hold on to the image
However, the above feature was not possible with registry v2 (some
technical stuff to do with each tag being separately signed). As a result,
this feature was removed from v1 as well - https://github.com/docker/docker/pull/10571
This means we can now do:
docker pull tag1 # nice
docker rm tag1 # image goes away if no one else is using it
references:
https://github.com/docker/docker/issues/8689
https://github.com/docker/docker/pull/8193 (added this feature to v1)
https://github.com/docker/docker/issues/8141 (the request)
https://github.com/docker/docker/pull/10571 (removes the v1 feature)
Fixes #563
2016-01-21 15:53:51 -08:00
Johannes Zellner
0f5ce651cc
Show errors if passwords do not match for reset and setup
v0.6.5
2016-01-21 16:33:51 +01:00
Johannes Zellner
6b8d5f92de
Set meaningful page title for oauth rendered pages
2016-01-21 16:19:38 +01:00
Johannes Zellner
55e556c725
Also provide client side password validation for password setup and reset forms
2016-01-21 16:08:51 +01:00
Johannes Zellner
19bb0a6ec2
Move form feedback below in setup screen
2016-01-21 16:03:46 +01:00
Johannes Zellner
290132f432
Add warning in password.js to update the UI parts
2016-01-21 16:00:12 +01:00
Johannes Zellner
4a8be8e62d
Add changes for 0.6.5
2016-01-21 15:57:48 +01:00
Johannes Zellner
23b61aef0c
Use client side pattern validation for setup password
2016-01-21 15:52:24 +01:00
Johannes Zellner
24cc433a3d
Also take care of the developermode toggle form
2016-01-21 15:17:49 +01:00
Johannes Zellner
e014b7de81
It should be called 'Wrong password'
2016-01-21 15:11:42 +01:00
Johannes Zellner
0895a2bdea
Same procedure for the app uninstall dialog
2016-01-21 15:09:22 +01:00
Johannes Zellner
03ca4887ba
Streamline the app restore password validation
2016-01-21 15:06:22 +01:00
Johannes Zellner
9eeb17c397
Fixup app configure password validation
2016-01-21 15:03:51 +01:00
Johannes Zellner
6a5da2745a
Simplify password validation in email edit
2016-01-21 14:59:39 +01:00
Johannes Zellner
e1111ba2bb
Simplify password validation for cloudron update
2016-01-21 14:57:21 +01:00
Johannes Zellner
d186084835
Use password regexp instead of min-max to do client side validation also
2016-01-21 14:47:21 +01:00
Johannes Zellner
06c2ba9fa9
Fixup email edit form with password changes
2016-01-21 14:34:36 +01:00
Johannes Zellner
b82e5fd8c6
Remove console.log()
2016-01-21 14:29:04 +01:00
Johannes Zellner
6e1f96a832
Set min and max length for all password fields
2016-01-21 14:26:24 +01:00
Johannes Zellner
f68135c7aa
Fixup password requirement feedback in account settings
2016-01-21 14:03:24 +01:00
Johannes Zellner
f48cbb457b
Call reset avatar to trigger favicon change
v0.6.4
2016-01-20 17:15:13 +01:00
Johannes Zellner
8d192dc992
Add Client.resetAvatar()
2016-01-20 17:14:50 +01:00
Johannes Zellner
b70324aa24
Give favicon an id
2016-01-20 17:14:36 +01:00
Johannes Zellner
390afaf614
Remove dead code
2016-01-20 16:56:14 +01:00
Johannes Zellner
5112322e7d
Ensure the avatar is always updated in all places
...
Fixes #549
2016-01-20 16:55:44 +01:00
Johannes Zellner
2cb498d500
Improve singleUser configure dialog
...
Fixes #565
2016-01-20 16:27:43 +01:00
Johannes Zellner
2bd6e02cdc
Do not show oauth proxy settings for singleUser apps
2016-01-20 16:23:31 +01:00
Johannes Zellner
85423cbc20
Actually send displayName instead of name in cloudron activation tests
2016-01-20 16:14:44 +01:00
Johannes Zellner
1c0d027bd3
Fix error message if displayName has wrong type
2016-01-20 16:14:21 +01:00
Johannes Zellner
5a8a023039
Fixup all the route tests with new password requirement
2016-01-20 16:06:51 +01:00
Johannes Zellner
196b059cfb
Immediately set icon fallback to avoid flickering
2016-01-20 16:01:39 +01:00
Johannes Zellner
2d930b9c3d
Explicitly set icon urls to null if we dont have them
2016-01-20 16:01:21 +01:00
Johannes Zellner
a5ba3faa49
Correctly report password errors
2016-01-20 15:41:29 +01:00
Johannes Zellner
02ba91f1bb
Move password generation into separate file and ensure we generate strong passwords
2016-01-20 15:33:11 +01:00
Johannes Zellner
bfa917e057
Add password strength unit tests
2016-01-20 14:50:06 +01:00
Johannes Zellner
909dd0725a
Fix copy and paste error
2016-01-20 14:49:45 +01:00
Johannes Zellner
74860f2d16
Fix tests for password strength change
2016-01-20 14:39:08 +01:00
Johannes Zellner
132ebb4e74
Require strong passwords
...
Fixes #568
2016-01-20 14:38:41 +01:00
Johannes Zellner
698158cd93
Change some of the mail added email text
2016-01-20 13:14:19 +01:00
Johannes Zellner
5bfc684f1b
Fix crash due to missing event
2016-01-20 13:10:16 +01:00
Johannes Zellner
c944c9b65b
Add changelog for 0.6.4
2016-01-20 12:43:40 +01:00
Johannes Zellner
d61698b894
Send user_added email instead of generic user event to admins
...
Fixes #569
2016-01-20 12:40:56 +01:00
Johannes Zellner
a4d32009ad
Make it clear why this if condition is there
2016-01-20 12:39:28 +01:00
Johannes Zellner
3007875e35
Add user_added.ejs email template
...
This allows us to also send an invitation link to admins
in case the user was not invited already.
2016-01-20 12:38:07 +01:00
Johannes Zellner
b4aad138fc
Fixup the update badge for mobile
2016-01-20 12:00:19 +01:00
Johannes Zellner
8df7eb2acb
Check if the versions for app updates match
...
Fixes #566
2016-01-20 11:56:46 +01:00
girish@cloudron.io
18cab6f861
initialize displayName from activation link
2016-01-20 00:16:48 -08:00
girish@cloudron.io
b2071c65d8
Fix typo
2016-01-20 00:05:06 -08:00