Page MenuHomeDevCentral
Feed All Stories

Jun 1 2016

dereckson retitled D383: Integration tests for auth views from to Integration tests for auth views.
Jun 1 2016, 14:40

May 31 2016

Sandlayth added a comment to T824: Tests for SuEXEC on Ysul.

We can have the complete path to the executable through

httpd -V | grep SUEXEC_BIN | grep -o "/.*" | sed 's/.$//'
May 31 2016, 22:19 · Operations sprints (Consolidate them all), Servers
dereckson added a comment to T824: Tests for SuEXEC on Ysul.

So far, we've a minimal test checking for hard-coded value /usr/local/sbin/suexec.

May 31 2016, 21:28 · Operations sprints (Consolidate them all), Servers
dereckson committed rOPS86c8e06e7946: Check if Apache is up and SuEXEC installed on Ysul (authored by dereckson).
Check if Apache is up and SuEXEC installed on Ysul
May 31 2016, 21:21
dereckson closed D371: Check if Apache is up and SuEXEC installed on Ysul by committing rOPS86c8e06e7946: Check if Apache is up and SuEXEC installed on Ysul.
May 31 2016, 21:20
dereckson closed T817: Deploy renewed SSL certificate for mail.nasqueron.org to the mail server LXC container as Resolved.

That doesn't need any Postfix restart.

May 31 2016, 21:19 · Nasqueron Docker deployment squad, Mail, Servers
amj accepted D371: Check if Apache is up and SuEXEC installed on Ysul.
May 31 2016, 21:14
dereckson raised the priority of T817: Deploy renewed SSL certificate for mail.nasqueron.org to the mail server LXC container from High to Unbreak Now!.
May 31 2016, 20:52 · Nasqueron Docker deployment squad, Mail, Servers
dereckson updated the diff for D25: Allow to serve https:// links behind a front-end server with SSL termination.

Adressed security concerns:

May 31 2016, 19:21
dereckson updated the diff for D25: Allow to serve https:// links behind a front-end server with SSL termination.

Rebased against master.

May 31 2016, 19:14
dereckson added a parent task for T492: When using a front-end server with SSL termination, back-end serves http:// links.: T271: Deploy Auth Grove to login.nasqueron.org.
May 31 2016, 18:52 · security, Auth Grove
dereckson added a subtask for T271: Deploy Auth Grove to login.nasqueron.org: T492: When using a front-end server with SSL termination, back-end serves http:// links..
May 31 2016, 18:52 · Nasqueron Docker deployment squad, Servers, Auth Grove
dereckson added a comment to D25: Allow to serve https:// links behind a front-end server with SSL termination.

To address security concerns, I'm going to change this, so no proxy is trusted by default.

May 31 2016, 18:48
dereckson renamed T817: Deploy renewed SSL certificate for mail.nasqueron.org to the mail server LXC container from renew SSL certificate for mail.nasqueron.org to Deploy renewed SSL certificate for mail.nasqueron.org to the mail server LXC container.
May 31 2016, 17:10 · Nasqueron Docker deployment squad, Mail, Servers

May 30 2016

dereckson triaged T817: Deploy renewed SSL certificate for mail.nasqueron.org to the mail server LXC container as High priority.
May 30 2016, 14:31 · Nasqueron Docker deployment squad, Mail, Servers

May 27 2016

Sandlayth reopened T728: Deploy a MongoDB container as "Open".
May 27 2016, 23:13 · User-Sandlayth, Nasqueron Docker deployment squad
Sandlayth reopened T728: Deploy a MongoDB container, a subtask of T727: Deploy a RocketChat container on Dwellers, as Open.
May 27 2016, 23:13 · Nasqueron Docker deployment squad
Sandlayth closed T728: Deploy a MongoDB container as Wontfix.
May 27 2016, 22:48 · User-Sandlayth, Nasqueron Docker deployment squad
Sandlayth closed T728: Deploy a MongoDB container, a subtask of T727: Deploy a RocketChat container on Dwellers, as Wontfix.
May 27 2016, 22:48 · Nasqueron Docker deployment squad

May 23 2016

Sandlayth changed the status of T727: Deploy a RocketChat container on Dwellers from Invalid to Wontfix.
May 23 2016, 16:54 · Nasqueron Docker deployment squad
Sandlayth closed T727: Deploy a RocketChat container on Dwellers as Invalid.
May 23 2016, 16:52 · Nasqueron Docker deployment squad
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