List of commits:
Subject Hash Author Date (UTC)
Fixed repo search: ui['admin'] may not be defined 48794821cb9a4ea8fa793144256ac916b1554bf2 Catalin(ux) M. BOIE 2013-02-18 19:37:31
Several changes. Bump version to 0.18 57269df7b88cd6cbb0c2569c6e14d94887c6ca40 Catalin(ux) M. BOIE 2013-02-17 10:10:48
Bump the version 753abba3b1f6caac8f96d801e5a5d1786023aa2f Catalin(ux) M. BOIE 2013-02-05 19:40:38
Checkpoint 16a893cae9b7754a3e9ff9a0f380c00ccc52a907 Catalin(ux) M. BOIE 2013-02-05 19:35:48
Bulk fixes 30f559c9d7701b0a06344f286f113e154a39805b Catalin(ux) M. BOIE 2013-01-06 00:24:33
Removed some debug stuff. d17e0d454e7e1cad1b350139e0770e7450ee9331 Catalin(ux) M. BOIE 2012-12-02 21:00:30
Apply conditionals before replacing variables! 3d5b7d5fcc11734f9623a3d6ff0aaa8a332b6bdb Catalin(ux) M. BOIE 2012-12-02 20:58:43
More fixes for 'fixes' infrastructure 831af837ca9e7fcf56bef81d1831c3150afa7de8 Catalin(ux) M. BOIE 2012-12-01 21:58:30
Fixes infrastructure; bug fixing c282b19dcb975b1e90a4eaacfe4c126364f6e054 Catalin(ux) M. BOIE 2012-12-01 21:01:23
First round of notifications 561943c9bfd37fcf2b3c53724af2c8145d76d664 Catalin(ux) M. BOIE 2012-11-18 12:03:28
Repo history added 888934152ff5c2f2dafae9e598cf93ab6f377dba Catalin(ux) M. BOIE 2012-11-09 22:39:08
git clone fixes and other stuff dbe6ddaddfc735c8a6fef126ba90cdb2a98fe631 Catalin(ux) M. BOIE 2012-11-07 19:19:38
Allow duplicate repo names. Allow same key (db pov). 146d1de07369f1e3270a6cdca1f1bead2d076f30 Catalin(ux) M. BOIE 2012-11-05 19:47:06
Bulk e15b8500a1ba4d1a84631287b234a661aa366cd6 Catalin(ux) M. BOIE 2012-11-05 18:39:16
Bulk updates - search, rights \!own fd52a1454efb598538244ac8b1117ee074d818cd Catalin(ux) M. BOIE 2012-10-31 22:08:29
Fix delete repo function 63e34cf9032bb7b108b51c97ccbd1efbd1e5cd7b Catalin(ux) M. BOIE 2012-10-29 20:45:40
Bulk 2ccd4da309196c89d776950b3b2e9efec32a6c60 Catalin(ux) M. BOIE 2012-10-29 18:30:20
Small changes all over the place: CSS, keys etc. ea67645051e11f3ef9ba3a115ccecb8e1f8cfee0 Catalin(ux) M. BOIE 2012-10-24 21:48:39
Severall small fixes reported by Gabi and James f82d44b18897564d35c0a133303c3a47e419d38b Catalin(ux) M. BOIE 2012-10-22 03:03:31
3-4 bugs fixed after the first day of alpha1 abe986682dea732dbd4248fac63bdd6b015b8f2e Catalin(ux) M. BOIE 2012-10-18 18:43:13
Commit 48794821cb9a4ea8fa793144256ac916b1554bf2 - Fixed repo search: ui['admin'] may not be defined
Author: Catalin(ux) M. BOIE
Author date (UTC): 2013-02-18 19:37
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2013-02-18 19:37
Parent(s): 57269df7b88cd6cbb0c2569c6e14d94887c6ca40
Signing key:
Tree: 2020d34fda603436d33f8e2e855a0e2b29d77b26
File Lines added Lines deleted
inc/repo.inc.php 9 5
File inc/repo.inc.php changed (mode: 100644) (index 8ace9f0..eba96e5)
... ... function rg_repo_list($db, $url, $ui)
929 929 } }
930 930
931 931 /* /*
932 * Search in all repositories owned by 'ui' or public
932 * Search in all repositories owned by 'login_ui' or public
933 933 * We need to exclude private repositories. * We need to exclude private repositories.
934 934 */ */
935 function rg_repo_search($db, $ui, $q)
935 function rg_repo_search($db, $login_ui, $q)
936 936 { {
937 937 rg_prof_start("repo_search"); rg_prof_start("repo_search");
938 rg_log("repo_search: q=$q...");
938 rg_log("repo_search: q=[$q]");
939 939
940 940 $e_q = rg_sql_escape($db, $q); $e_q = rg_sql_escape($db, $q);
941 941
942 $admin = 0;
943 if (isset($login_ui['admin']) && ($login_ui['admin'] == 1))
944 $admin = 1;
945
942 946 $sql = "SELECT * FROM repos" $sql = "SELECT * FROM repos"
943 947 . " WHERE deleted = 0" . " WHERE deleted = 0"
944 948 . " AND (name ILIKE '%$e_q%' OR description ILIKE '%$e_q%')" . " AND (name ILIKE '%$e_q%' OR description ILIKE '%$e_q%')"
945 . " AND (uid = " . $ui['uid'] . " OR default_rights LIKE '%F%'"
946 . " OR " . $ui['admin'] . " = 1)"
949 . " AND (uid = " . $login_ui['uid'] . " OR default_rights LIKE '%F%'"
950 . " OR " . $admin . " = 1)"
947 951 . " ORDER BY master, name" . " ORDER BY master, name"
948 952 . " LIMIT 10"; . " LIMIT 10";
949 953
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