Page MenuHomeDevCentral
Feed All Stories

May 23 2016

dereckson committed rGROVEa889e0d62a8f: Docker instructions in README (authored by dereckson).
Docker instructions in README
May 23 2016, 16:39
dereckson closed D382: Docker instructions in README by committing rGROVEa889e0d62a8f: Docker instructions in README.
May 23 2016, 16:39
dereckson added projects to T841: Add a #nolog feature to PhabricatorBot: Servers, IRC, DevCentral.
May 23 2016, 16:37 · DevCentral, IRC, Servers
dereckson claimed T841: Add a #nolog feature to PhabricatorBot.
May 23 2016, 16:37 · DevCentral, IRC, Servers
Sandlayth accepted D382: Docker instructions in README.
May 23 2016, 16:33

May 22 2016

dereckson updated the diff for D382: Docker instructions in README.

Improved README

May 22 2016, 20:58
dereckson retitled D382: Docker instructions in README from to Docker instructions in README.
May 22 2016, 20:58
dereckson closed T812: Add required HTML5 attribute to required <input> fields as Invalid.

Every required field in resources/views/auth/ has already a required attribute.

May 22 2016, 20:38 · good-first-issue, Auth Grove
dereckson claimed T812: Add required HTML5 attribute to required <input> fields.
May 22 2016, 20:32 · good-first-issue, Auth Grove
dereckson added a comment to T271: Deploy Auth Grove to login.nasqueron.org.

1#!/bin/sh
2
3# -------------------------------------------------------------
4# Auth Grove
5# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6# Author: Sébastien Santoro aka Dereckson
7# Project: Nasqueron
8# Created: 2016-05-21
9# Description: SSO for Nasqueron services.
10# Image: nasqueron/auth-grove
11# Services used: MySQL server (acquisitariat)
12# Docker volume (/data/notifications/storage)
13# -------------------------------------------------------------
14
15# -------------------------------------------------------------
16# Container parameters
17# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
18
19INSTANCE_NAME=login
20PORT=25080
21MYSQL_INSTANCE=acquisitariat
22STORAGE=/data/login/storage
23CANONICAL_URL=http://login.nasqueron.org
24
25# -------------------------------------------------------------
26# Database parameters
27#
28# Get credentials from zr
29# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
30
31MYSQL_HOST=mysql
32MYSQL_USER=`ssh -4 -i /root/.ssh/id_zr zr@ysul.nasqueron.org getcredentials 67 username`
33MYSQL_PASS=`ssh -4 -i /root/.ssh/id_zr zr@ysul.nasqueron.org getcredentials 67`
34MYSQL_DB=$INSTANCE_NAME
35
36# -------------------------------------------------------------
37# Run the container
38# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
39
40# Checks container isn't running
41docker-container-status $INSTANCE_NAME > /dev/null
42if [ "$?" -lt 2 ]; then
43 echo "Container is already running."
44 echo "To force relaunch, try docker stop $INSTANCE_NAME ; docker rm $INSTANCE_NAME ; $0"
45 exit 1
46fi
47
48mkdir -p $STORAGE
49chcon -Rt svirt_sandbox_file_t $STORAGE
50chown 431:433 $STORAGE
51docker run -t -d \
52 --link $MYSQL_INSTANCE:$MYSQL_HOST \
53 -p $PORT:80 \
54 -e DB_HOST=$MYSQL_HOST \
55 -e DB_DATABASE=$MYSQL_DB \
56 -e DB_USERNAME=$MYSQL_USER \
57 -e DB_PASSWORD=$MYSQL_PASS \
58 -e CANONICAL_URL="$CANONICAL_URL" \
59 --name $INSTANCE_NAME nasqueron/auth-grove
60
61echo "Deployment done at `date`."
62exit 0

May 22 2016, 20:27 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson edited P194 run-login.
May 22 2016, 20:27
dereckson closed T839: Current URL detection code in views aren't coherent as Resolved.

app.url setting is for CLI links

May 22 2016, 20:23 · Auth Grove
dereckson closed T839: Current URL detection code in views aren't coherent, a subtask of T271: Deploy Auth Grove to login.nasqueron.org, as Resolved.
May 22 2016, 20:23 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson committed rGROVE0074a0737b75: Set session cookie name to auth_grove (authored by dereckson).
Set session cookie name to auth_grove
May 22 2016, 19:51
dereckson closed D381: Set session cookie name to auth_grove by committing rGROVE0074a0737b75: Set session cookie name to auth_grove.
May 22 2016, 19:51
dereckson updated D381: Set session cookie name to auth_grove.
May 22 2016, 19:50
dereckson accepted D381: Set session cookie name to auth_grove.
May 22 2016, 19:50
dereckson retitled D381: Set session cookie name to auth_grove from to Set session cookie name to auth_grove.
May 22 2016, 19:50
dereckson moved T839: Current URL detection code in views aren't coherent from Backlog to Working on on the Auth Grove board.
May 22 2016, 19:27 · Auth Grove
dereckson renamed T840: Upgrade to Laravel 5.2 from Upgrade to Laravel 5 to Upgrade to Laravel 5.2.
May 22 2016, 19:27 · User-Dereckson, Technical debt, Auth Grove
dereckson created T840: Upgrade to Laravel 5.2.
May 22 2016, 19:16 · User-Dereckson, Technical debt, Auth Grove

May 21 2016

dereckson committed rDGROVEcc41e132174a: Initial revision for Auth Grove's Docker image (authored by dereckson).
Initial revision for Auth Grove's Docker image
May 21 2016, 23:35
dereckson closed D375: Initial revision for Auth Grove's Docker image by committing rDGROVEcc41e132174a: Initial revision for Auth Grove's Docker image.
May 21 2016, 23:35
dereckson updated the diff for D375: Initial revision for Auth Grove's Docker image.

npm:

  • install Gulp globally
  • run npm install in Dockerfile, not in container launch time setup
May 21 2016, 23:33
dereckson created T839: Current URL detection code in views aren't coherent.
May 21 2016, 22:24 · Auth Grove
dereckson committed rGROVE4612c989164f: Disable gulp-notify (authored by dereckson).
Disable gulp-notify
May 21 2016, 22:13
dereckson closed T838: Disable gulp-notify as Resolved by committing rGROVE4612c989164f: Disable gulp-notify.
May 21 2016, 22:13 · Auth Grove
dereckson closed D380: Disable gulp-notify by committing rGROVE4612c989164f: Disable gulp-notify.
May 21 2016, 22:13
dereckson closed T838: Disable gulp-notify, a subtask of T271: Deploy Auth Grove to login.nasqueron.org, as Resolved.
May 21 2016, 22:13 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson accepted D380: Disable gulp-notify.
May 21 2016, 22:13
dereckson added a task to D380: Disable gulp-notify: T838: Disable gulp-notify.
May 21 2016, 22:12
dereckson added a revision to T838: Disable gulp-notify: D380: Disable gulp-notify.
May 21 2016, 22:12 · Auth Grove
dereckson added subtasks for T271: Deploy Auth Grove to login.nasqueron.org: T838: Disable gulp-notify, T837: Investigate gulp issue to minimize CSS, T836: Update MySQL users table in migration, T835: Commit storage/ folder.
May 21 2016, 22:08 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson added a parent task for T835: Commit storage/ folder: T271: Deploy Auth Grove to login.nasqueron.org.
May 21 2016, 22:08 · Auth Grove
dereckson added a parent task for T837: Investigate gulp issue to minimize CSS: T271: Deploy Auth Grove to login.nasqueron.org.
May 21 2016, 22:08 · Auth Grove
dereckson added a parent task for T836: Update MySQL users table in migration: T271: Deploy Auth Grove to login.nasqueron.org.
May 21 2016, 22:08 · Auth Grove
dereckson created T838: Disable gulp-notify.
May 21 2016, 22:08 · Auth Grove
dereckson closed T837: Investigate gulp issue to minimize CSS as Wontfix.

Can't repro with Node 6.

May 21 2016, 21:58 · Auth Grove
dereckson committed rGROVE8de37f6f70c0: Start user accounts ID with a large value (authored by dereckson).
Start user accounts ID with a large value
May 21 2016, 21:16
dereckson closed T830: Start user accounts ID with a large value as Resolved by committing rGROVE8de37f6f70c0: Start user accounts ID with a large value.
May 21 2016, 21:16 · Technical debt, Auth Grove
dereckson closed D379: Start user accounts ID with a large value by committing rGROVE8de37f6f70c0: Start user accounts ID with a large value.
May 21 2016, 21:16
dereckson updated the diff for D379: Start user accounts ID with a large value.

Spaces

May 21 2016, 21:16
dereckson accepted D379: Start user accounts ID with a large value.
May 21 2016, 21:14
dereckson added a comment to D379: Start user accounts ID with a large value.
Migrate test
$ php artisan migrate
Migrated: 2016_05_21_224200_set_users_table_auto_increment
$ php artisan tinker
>>> DB::select("SHOW CREATE TABLE users");
=> [
     {#698
       +"Table": "users"
       +"Create Table": """
         CREATE TABLE `users` (
           `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
           `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
           `fullname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
           `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
           `password` varchar(60) COLLATE utf8_unicode_ci NOT NULL,
           `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
           `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
           `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
           PRIMARY KEY (`id`),
           UNIQUE KEY `users_email_unique` (`email`)
         ) ENGINE=InnoDB AUTO_INCREMENT=1000000000 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci"""
     }
   ]
May 21 2016, 21:14
dereckson updated the test plan for D379: Start user accounts ID with a large value.
May 21 2016, 21:14
dereckson updated D379: Start user accounts ID with a large value.
May 21 2016, 21:09
dereckson added a task to D379: Start user accounts ID with a large value: T830: Start user accounts ID with a large value.
May 21 2016, 21:07
dereckson added a revision to T830: Start user accounts ID with a large value: D379: Start user accounts ID with a large value.
May 21 2016, 21:07 · Technical debt, Auth Grove
dereckson claimed T830: Start user accounts ID with a large value.
May 21 2016, 20:39 · Technical debt, Auth Grove
dereckson committed rGROVEce387050c995: Update database schema for users table (authored by dereckson).
Update database schema for users table
May 21 2016, 20:33
dereckson closed T836: Update MySQL users table in migration as Resolved by committing rGROVEce387050c995: Update database schema for users table.
May 21 2016, 20:33 · Auth Grove
dereckson closed D378: Update database schema for users table by committing rGROVEce387050c995: Update database schema for users table.
May 21 2016, 20:32
dereckson accepted D378: Update database schema for users table.

Tested on the D375 test container, works fine.

May 21 2016, 20:31
dereckson updated the diff for D375: Initial revision for Auth Grove's Docker image.
  • install last Node 6 version through Nodesource distribution
  • npm install
May 21 2016, 20:26
dereckson updated D378: Update database schema for users table.
May 21 2016, 20:18
dereckson updated D378: Update database schema for users table.
May 21 2016, 20:18
dereckson added a task to D378: Update database schema for users table: T836: Update MySQL users table in migration.
May 21 2016, 20:14
dereckson added a revision to T836: Update MySQL users table in migration: D378: Update database schema for users table.
May 21 2016, 20:14 · Auth Grove
dereckson updated the task description for T836: Update MySQL users table in migration.
May 21 2016, 18:25 · Auth Grove
dereckson created T837: Investigate gulp issue to minimize CSS.
May 21 2016, 18:24 · Auth Grove
dereckson created T836: Update MySQL users table in migration.
May 21 2016, 18:23 · Auth Grove
dereckson added inline comments to D375: Initial revision for Auth Grove's Docker image.
May 21 2016, 17:26
dereckson committed rGROVE9fc8e63f2143: Create storage/ hierarchy (authored by dereckson).
Create storage/ hierarchy
May 21 2016, 17:22
dereckson closed T835: Commit storage/ folder as Resolved by committing rGROVE9fc8e63f2143: Create storage/ hierarchy.
May 21 2016, 17:22 · Auth Grove
dereckson closed D377: Create storage/ hierarchy by committing rGROVE9fc8e63f2143: Create storage/ hierarchy.
May 21 2016, 17:22
dereckson accepted D377: Create storage/ hierarchy.
May 21 2016, 17:22
dereckson retitled D377: Create storage/ hierarchy from to Create storage/ hierarchy.
May 21 2016, 17:11
dereckson added a revision to T835: Commit storage/ folder: D377: Create storage/ hierarchy.
May 21 2016, 17:11 · Auth Grove
dereckson created T835: Commit storage/ folder.
May 21 2016, 17:03 · Auth Grove
dereckson planned changes to D375: Initial revision for Auth Grove's Docker image.
May 21 2016, 16:47
Sandlayth accepted D376: 502 for login.nasqueron.org.
May 21 2016, 16:37
dereckson added a comment to T271: Deploy Auth Grove to login.nasqueron.org.
Dwellers
$ mysql-acquisitariat-client 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 25258597
Server version: 5.7.11 MySQL Community Server (GPL)
May 21 2016, 16:08 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson added a revision to T271: Deploy Auth Grove to login.nasqueron.org: D376: 502 for login.nasqueron.org.
May 21 2016, 15:35 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson added a task to D376: 502 for login.nasqueron.org: T271: Deploy Auth Grove to login.nasqueron.org.
May 21 2016, 15:35
dereckson added a comment to D376: 502 for login.nasqueron.org.

@Sandlayth So to test it, this will be exactly the same than https://pad.nasqueron.org/502.html

May 21 2016, 15:32
dereckson retitled D376: 502 for login.nasqueron.org from to 502 for login.nasqueron.org.
May 21 2016, 15:31
dereckson moved T271: Deploy Auth Grove to login.nasqueron.org from Backlog to Working on on the Servers board.
May 21 2016, 15:07 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson moved T271: Deploy Auth Grove to login.nasqueron.org from Backlog to Working on on the Nasqueron Docker deployment squad board.
May 21 2016, 15:06 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson claimed T271: Deploy Auth Grove to login.nasqueron.org.
May 21 2016, 15:03 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson added a comment to T271: Deploy Auth Grove to login.nasqueron.org.

Docker image
I'm preparing rDGROVE with D375.

May 21 2016, 15:03 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson added a comment to T831: bioty.co domain has expired.

If you need more, you can browse the site adding that to /etc/hosts or C:\WINDOWS\system32\drivers\etc\hosts:

May 21 2016, 14:59 · bioty.co hosting
dereckson added a comment to T831: bioty.co domain has expired.

Full page

Fullpage.png (8×1 px, 3 MB)

May 21 2016, 14:56 · bioty.co hosting
Sandlayth accepted D375: Initial revision for Auth Grove's Docker image.
May 21 2016, 14:53
ieli added a comment to T831: bioty.co domain has expired.

The quick reply is normal, i l learned from the best.

May 21 2016, 14:39 · bioty.co hosting
dereckson created T834: Upgrade vma.nasqueron.org from 3.0.12 to 3.0.15.
May 21 2016, 14:34 · Nasqueron Docker deployment squad, Servers, Mail
dereckson closed T407: DNS configuration for mail.nasqueron.org, a subtask of T404: Install a mail server on Dwellers, as Resolved.
May 21 2016, 14:33 · User-Sandlayth, Mail
dereckson closed T407: DNS configuration for mail.nasqueron.org as Resolved.
May 21 2016, 14:33 · Mail, bioty.co hosting
dereckson closed T656: Ensure every URL is HTTPS or protocol-relative as Resolved.
May 21 2016, 14:32 · security, bioty.co hosting
dereckson closed T411: Investigate for a Wordpress caching strategy as Wontfix.

Closing remaining bioty.co tasks as won't fix per T833.

May 21 2016, 14:32 · bioty.co hosting
dereckson moved T656: Ensure every URL is HTTPS or protocol-relative from Backlog to Done on the bioty.co hosting board.
May 21 2016, 14:32 · security, bioty.co hosting
dereckson moved T411: Investigate for a Wordpress caching strategy from Backlog to Done on the bioty.co hosting board.
May 21 2016, 14:32 · bioty.co hosting
dereckson added a subtask for T833: Decommission bioty.co: T832: Decommission mail.bioty.co.
May 21 2016, 14:31 · Servers, bioty.co hosting
dereckson added a parent task for T832: Decommission mail.bioty.co: T833: Decommission bioty.co.
May 21 2016, 14:31 · Servers, Mail, bioty.co hosting
dereckson created T833: Decommission bioty.co.
May 21 2016, 14:31 · Servers, bioty.co hosting
dereckson closed T832: Decommission mail.bioty.co as Resolved.

Done, Let's encrypt certificates renewd successfully for mail servers (now independant certificates).

May 21 2016, 14:30 · Servers, Mail, bioty.co hosting
dereckson lowered the priority of T831: bioty.co domain has expired from Unbreak Now! to Low.
May 21 2016, 14:30 · bioty.co hosting
dereckson added a comment to T831: bioty.co domain has expired.

You're welcome.

May 21 2016, 14:29 · bioty.co hosting
ieli added a comment to T831: bioty.co domain has expired.

@nidal They/you are going to renew it, we change the domain or we remove the site/mail domain?

May 21 2016, 14:28 · bioty.co hosting
dereckson retitled D375: Initial revision for Auth Grove's Docker image from Initial revision to Initial revision for Auth Grove's Docker image.
May 21 2016, 14:28
dereckson added a revision to T271: Deploy Auth Grove to login.nasqueron.org: D375: Initial revision for Auth Grove's Docker image.
May 21 2016, 14:28 · Nasqueron Docker deployment squad, Servers, Auth Grove