Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Disable fetch by git protocol of private repos! | 34542abdf3711dad4fef26b36e2c9f057aac4fff | Catalin(ux) M. BOIE | 2017-02-24 22:04:59 |
Set language to 'en' for htmln tag | be020d391beb150bab9fa3eedb0e4fcddf00ce00 | Catalin(ux) M. BOIE | 2017-02-24 22:03:47 |
Trademark signs for Git and add a reference to SFC | 223d90296b59a44b2887808301443264bde89a13 | Catalin(ux) M. BOIE | 2017-02-24 22:02:49 |
TODO changes | 0072cc306c6dfec9349a7d67dd1d71650dc0ef3a | Catalin(ux) M. BOIE | 2017-02-24 21:57:31 |
SELinux policy; php-fpm pids, logs and sockets | cf7770b2233a216c697e3f340f95960ccfe843cf | Catalin(ux) M. BOIE | 2017-02-24 21:57:12 |
Improved testing; add a fetch over git for a private repo | 8241de314aff22da494bbd0ed5b1ee2017674c6f | Catalin(ux) M. BOIE | 2017-02-24 21:52:02 |
Change caps for some error message; no code changes. | aab9ce336362beda61a4470cbd63ccc06778eeb1 | Catalin(ux) M. BOIE | 2017-02-24 21:48:13 |
Some clients, for exampple JGit sends the request gzipped. Deal with it. Thanks Gabi for the report! | ea9023af24a172724ec22313c8c0c15cc88f90df | Catalin(ux) M. BOIE | 2017-02-24 19:47:29 |
Switch to quotes to be able to use commas; small corrections | ab27969287d666d0fb526f7b24b04f65ab7d54f7 | Catalin(ux) M. BOIE | 2017-02-14 18:28:13 |
Added more info to comparison and added baloons (Stig suggestion) | 07c13312204980b85229acf7f0ab1e3a66aa6677 | Catalin(ux) M. BOIE | 2017-02-13 18:31:41 |
Comparison updated based on Stig's help! Thanks! | d45c87235c003153b0579d9d875b62a0f6e0f209 | Catalin(ux) M. BOIE | 2017-02-13 17:54:00 |
Corrected a ORDER before WHERE affecting the listing of the users in admin section | ee889bb3e9fb175af625cc5dab26c079fe6a6108 | Catalin(ux) M. BOIE | 2017-01-31 18:08:47 |
Bump version to v0.65 | 23209e409cae8a83b33b53b3cb3109a63be7bd8c | Catalin(ux) M. BOIE | 2017-01-30 18:52:26 |
Updates SELinux policy file | fa9d4acd0c6ee730ee45c3e3ab57b55665e74666 | Catalin(ux) M. BOIE | 2017-01-30 18:51:52 |
Added credits for TLS setup about perfect forward secrecy | 63ff4cf11961421d6f187d2597354d12eff9a810 | Catalin(ux) M. BOIE | 2017-01-30 18:51:31 |
Make more clear the text about Enterprise Edition | 20a621f3de637975d93cbb260213c2d833a0acab | Catalin(ux) M. BOIE | 2017-01-30 18:50:50 |
TODO updates | 29e7ddcea2ed6add27a13dfef09c8660d4b3520e | Catalin(ux) M. BOIE | 2017-01-30 18:49:28 |
Use IdentitiesOnly when setup SSH config for RocketGit | fbd5d71c0341f9187cfd677d2d620749d09c61d6 | Catalin(ux) M. BOIE | 2017-01-30 18:49:10 |
Fixed push by HTTP; fixing some tests | af00ea421d6eec2877cab0c37f9c492fff3860ec | Catalin(ux) M. BOIE | 2017-01-30 18:48:19 |
If user is suspended or deleted, show an error | c308a9b435c9e5baa39ac3529c794df227ab9196 | Catalin(ux) M. BOIE | 2017-01-06 07:12:32 |
File | Lines added | Lines deleted |
---|---|---|
scripts/remote.php | 3 | 1 |
File scripts/remote.php changed (mode: 100644) (index 3dd203b..99c25e6) | |||
... | ... | if (strstr($flags, 'W')) { | |
197 | 197 | $r = rg_repo_fetch_push_helper($db, $host, $ip, $login_ui, $prefix, $user, | $r = rg_repo_fetch_push_helper($db, $host, $ip, $login_ui, $prefix, $user, |
198 | 198 | $repo, $cmd, TRUE /*need_namespace_copy*/); | $repo, $cmd, TRUE /*need_namespace_copy*/); |
199 | 199 | rg_log_ml('DEBUG: repo_fetch_push_helper: ' . print_r($r, TRUE)); | rg_log_ml('DEBUG: repo_fetch_push_helper: ' . print_r($r, TRUE)); |
200 | if ($r['ok'] !== 1) | ||
200 | if (($r['ok'] !== 1) || ($r['allow'] !== 1)) | ||
201 | 201 | fatal($r['error']); | fatal($r['error']); |
202 | if (($r['push'] === 1) && ($r['push_allowed'] !== 1)) | ||
203 | fatal('Non existing repo or you are not allowed to push.'); | ||
202 | 204 | ||
203 | 205 | $run = "git-shell -c \"" . $cmd . " " . escapeshellarg($r['repo_path']) . "\""; | $run = "git-shell -c \"" . $cmd . " " . escapeshellarg($r['repo_path']) . "\""; |
204 | 206 | //$run = $cmd . ' ' . escapeshellarg($r['repo_path']); | //$run = $cmd . ' ' . escapeshellarg($r['repo_path']); |