List of commits:
Subject Hash Author Date (UTC)
Add caching by using ETag / If-None-Match 132cd07d19e33b382ab4e7a0a0b0e057fe316652 Catalin(ux) M. BOIE 2015-06-09 16:03:27
Add debug support for rpm instalation. c091b24f82c135b5606181f417d2f18151d951ae Catalin(ux) M. BOIE 2015-06-06 11:00:44
SSH key fingerprint: add SHA256 support f774edcd0c17f66dd4de54aa35a543bbafaff609 Catalin(ux) M. BOIE 2015-06-04 20:31:35
Put features first in menu 33a9cef11227407d2cdf63056e71b66dd6106f62 Catalin(ux) M. BOIE 2015-06-02 19:44:51
Switch to v2 images e0d94a44d7093be83b82ea5227c0afcba22a5d27 Catalin(ux) M. BOIE 2015-05-27 03:36:13
Remove 'qcow2' reference because was not the place ec800590fd07b69f377387c8353d50f6a9430ff8 Catalin(ux) M. BOIE 2015-05-27 03:35:32
Instruct used to follow the README file after rpm install 1e1f092339a0fb4ab7c7ead080d68c1d04686d29 Catalin(ux) M. BOIE 2015-05-27 03:30:23
Lots of fixes, mostly on templating stuff. eb7e8f94fa4a2f5d82f913bcd7113287172cd450 Catalin(ux) M. BOIE 2015-05-25 18:51:36
Lots of changes all over the place. 9b39ce5e62255ff390926ef11c37b98d1d8751d2 Catalin(ux) M. BOIE 2015-05-22 03:25:46
Invites now accepts a file as the body of the e-mail and php_errormsg fixes. 31ccba6e43e02c34fa2139fe352c3799feecd249 Catalin(ux) M. BOIE 2015-05-09 04:17:40
Allow compression inside TLS 00828bd5eaf5ad08ff7736a6c5627c21179a8e20 Catalin(ux) M. BOIE 2015-05-06 17:09:07
Bump version to 0.32 8a9194a00721f0f6c55ab4bc986e23962357f250 Catalin(ux) M. BOIE 2015-05-05 21:20:30
Small fixes all over the place baaa5336810128456e63d5e5a8cb111c81fe162d Catalin(ux) M. BOIE 2015-05-05 21:20:12
Forgot to initialize a variable. beca8b9e01c37c6101f9a61f8ecf8cb744f1bd41 Catalin(ux) M. BOIE 2015-05-04 22:23:37
Bump version to 0.31 a03215399419416798da2fbaf51a71959f112bc6 Catalin(ux) M. BOIE 2015-05-04 21:52:29
Small fixes, mainy CSS. f0a08c03ae739e59d1a608234cbb0988cca6a351 Catalin(ux) M. BOIE 2015-05-04 21:51:58
Mostly text changes. d70ca5530fe3ef23f02f8a2563e957529fe0ea5c Catalin(ux) M. BOIE 2015-05-04 20:17:59
Fixed an AVC related to apache logging. 21f0a49a7c51687e38046437eca2bfe7a2c86d78 Catalin(ux) M. BOIE 2015-04-24 15:35:11
Lots of fixes, mostly CSS 7f079cf057ae0545827ba0090b816ac181bd2139 Catalin(ux) M. BOIE 2015-04-22 18:39:21
Lots of fixes all over the place. 12b0f0dc0503557effe906b6f7bf519768fdf766 Catalin(ux) M. BOIE 2015-04-21 22:23:25
Commit 132cd07d19e33b382ab4e7a0a0b0e057fe316652 - Add caching by using ETag / If-None-Match
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-06-09 16:03
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-06-09 16:03
Parent(s): c091b24f82c135b5606181f417d2f18151d951ae
Signing key:
Tree: 30e94993181485bd3c9eb62f5c5b8a9821fdbdbf
File Lines added Lines deleted
root/index.php 20 1
File root/index.php changed (mode: 100644) (index 65596f0..4a18a23)
... ... if ($rg['login_ui']['uid'] > 0) {
156 156
157 157 $rg['HTML:rg_body'] = $body; $rg['HTML:rg_body'] = $body;
158 158 // DEBUG: aici deja e busit content-ul! Merg inapoi pe fir. // DEBUG: aici deja e busit content-ul! Merg inapoi pe fir.
159 echo rg_template("index.html", $rg, TRUE /* xss */);
159 $_c = rg_template("index.html", $rg, TRUE /* xss */);
160
161 header('Cache-Control: private, no-cache');
162
163 // Caching
164 $we_have = sha1($_c);
165 if (isset($_SERVER['HTTP_IF_NONE_MATCH']))
166 $client_have = $_SERVER['HTTP_IF_NONE_MATCH'];
167 else
168 $client_have = '';
169
170 if (strcmp($client_have, $we_have) == 0) {
171 rg_log('Client has the right version');
172 header('HTTP/1.1 304 Not modified');
173 header('ETag: ' . $we_have);
174 } else {
175 rg_log('Client has NOT the right version [' . $client_have . ']');
176 header('ETag: ' . $we_have);
177 echo $_c;
178 }
160 179
161 180 rg_prof_end("MAIN"); rg_prof_end("MAIN");
162 181 rg_prof_log(); rg_prof_log();
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