List of commits:
Subject Hash Author Date (UTC)
Improved user cache to not have null elements in JSON d6b75a2cc4830cfb8dfb92e911f1e5a41c2023bc Catalin(ux) M. BOIE 2016-07-11 04:06:25
Allow rights to have numbers and _ in name 4f5c38389bc98e2dcb60d36359917c33820e5779 Catalin(ux) M. BOIE 2016-07-11 04:05:40
Allow strange chars in cache names 00b05d99d3d3cf0229249718d2482af40f063972 Catalin(ux) M. BOIE 2016-07-11 04:04:08
Small improvements to builder and worker 08f9bc668f7f192af61868bebd644bea64b6aedd Catalin(ux) M. BOIE 2016-07-11 04:01:47
SELinux improvements to support the builder a2b52360b43be53786ee5d68c9fcb2db14f29c0c Catalin(ux) M. BOIE 2016-07-11 04:00:57
Document docker on Download web section 5d4ece50d6b4dc3d4902afd9264a45834ceb3592 Catalin(ux) M. BOIE 2016-07-11 03:54:31
Doc: restore context for rc.local eb5fa1cab84737e3440cfbca147d50859b8f9a53 Catalin(ux) M. BOIE 2016-07-07 04:09:23
Fixed small bug preventing e-mail to show in report 26d884b3a332f3c3b241c194912b9653749a9427 Catalin(ux) M. BOIE 2016-07-07 03:37:23
Do not clobber the cron file 5c68384676d9b8087255dda3b62e3588fc50e6c7 Catalin(ux) M. BOIE 2016-07-06 22:03:58
When using rg_json_encode, no quotes needed. c4b7693a81e593918f8c06408f16b4884a92773b Catalin(ux) M. BOIE 2016-07-06 05:21:00
Remove summary from tables because violates HTML5 specs. :( 11865f18e979f3849dbb265e5c5350f4a638088b Catalin(ux) M. BOIE 2016-07-06 05:00:11
Bump version to 0.55 58652b8250a867c0f4e9e3a9c76737443f242b36 Catalin(ux) M. BOIE 2016-07-06 04:48:24
Big commit of a lot of unrelated changes. Shame on me! e503666df79ef1553d0bb7ffd1d12a6b62748b1c Catalin(ux) M. BOIE 2016-07-06 04:44:43
Do not free resources if query fails. 57baca81e9087a00a8e2e1807c932de2fb9769c4 Catalin(ux) M. BOIE 2016-06-26 11:47:09
Packaging changes: prepared for Debian build c32cb09dc84615f4984ce5f8fac4064accbeeb28 Catalin(ux) M. BOIE 2016-06-12 05:59:14
webhooks - rename Name to Type 7d774d4818950b3d3916e834b0dde3081b90960e Catalin(ux) M. BOIE 2016-05-08 11:36:45
Correct license for spec file (Affero -> A) 3635ec1e7b416524ad15e06c884b4546600d68e4 Catalin(ux) M. BOIE 2016-05-08 11:09:01
Bump version to 0.54 a6f90aaaedcaa67073408100b6a0abd5c7ddd6fa Catalin(ux) M. BOIE 2016-05-08 11:06:23
SELinux: permit access to /tmp b33571b8aa45d49053ef20cbb485ef36dc6f5e49 Catalin(ux) M. BOIE 2016-05-08 11:05:44
TODO changes 55917d4f8f63aefcac02b4c583dbe252ee04aa87 Catalin(ux) M. BOIE 2016-05-08 11:04:35
Commit d6b75a2cc4830cfb8dfb92e911f1e5a41c2023bc - Improved user cache to not have null elements in JSON
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-07-11 04:06
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-07-11 04:06
Parent(s): 4f5c38389bc98e2dcb60d36359917c33820e5779
Signer:
Signing key:
Signing status: N
Tree: c19154bf6413cd24757001c64a84332f67fcd201
File Lines added Lines deleted
inc/struct.inc.php 8 4
inc/user.inc.php 10 4
File inc/struct.inc.php changed (mode: 100644) (index 0da9f8e..78a09f1)
... ... $rg_sql_struct[40]['tables'] = array(
567 567 . ", who INTEGER DEFAULT 0)" . ", who INTEGER DEFAULT 0)"
568 568 ); );
569 569 $rg_sql_struct[40]['other'] = array( $rg_sql_struct[40]['other'] = array(
570 'api_keys_i_uid' =>
571 "CREATE INDEX apikeys_i_uid ON apikeys(uid)",
572 'workers_i_uid' =>
573 "CREATE INDEX workers_i_uid ON workers(uid)"
570 'api_keys_i_uid' => "CREATE INDEX apikeys_i_uid ON apikeys(uid)",
571 'workers_i_uid' => "CREATE INDEX workers_i_uid ON workers(uid)",
572 'users_suspended_0' =>
573 "UPDATE users SET suspended = 0 WHERE suspended IS NULL",
574 'users_last_seen_0' =>
575 "UPDATE users SET last_seen = 0 WHERE last_seen IS NULL",
576 'disk_used_mb_0' =>
577 "UPDATE users SET disk_used_mb = 0 WHERE disk_used_mb IS NULL"
574 578 ); );
575 579
576 580 // Do not forget to add the new tables to statistics // Do not forget to add the new tables to statistics
File inc/user.inc.php changed (mode: 100644) (index f95a100..bdf7251)
... ... function rg_user_edit($db, $d)
490 490 if (rg_user_pass_ok($d['pass']) !== TRUE) if (rg_user_pass_ok($d['pass']) !== TRUE)
491 491 break; break;
492 492
493 $sql = "INSERT INTO users (username, realname, salt, pass"
494 . ", email, itime"
493 $d['suspended'] = 0;
494 $d['last_seen'] = 0;
495 $d['disk_used_mb'] = 0;
496 $sql = "INSERT INTO users (username, realname, salt"
497 . ", pass, email, itime"
495 498 . ", is_admin, rights, session_time" . ", is_admin, rights, session_time"
496 . ", confirmed, confirm_token, plan_id)"
499 . ", confirmed, confirm_token, plan_id"
500 . ", suspended, last_seen, disk_used_mb)"
497 501 . " VALUES (@@username@@, @@realname@@, @@salt@@" . " VALUES (@@username@@, @@realname@@, @@salt@@"
498 502 . ", @@pass_crypted@@, @@email@@, @@itime@@" . ", @@pass_crypted@@, @@email@@, @@itime@@"
499 503 . ", @@is_admin@@, @@rights@@, @@session_time@@" . ", @@is_admin@@, @@rights@@, @@session_time@@"
500 . ", @@confirmed@@, @@confirm_token@@, @@plan_id@@)"
504 . ", @@confirmed@@, @@confirm_token@@, @@plan_id@@"
505 . ", @@suspended@@, @@last_seen@@"
506 . ", @@disk_used_mb@@)"
501 507 . " RETURNING uid"; . " RETURNING uid";
502 508 } else { // edit } else { // edit
503 509 $salt_pass_add = ""; $salt_pass_add = "";
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main