List of commits:
Subject Hash Author Date (UTC)
More debugging added to webhooks 87d72dd3b50917b04e072d95ca22a0d639853701 Catalin(ux) M. BOIE 2017-07-09 06:28:38
Anonymize also admin init parameters 18786c9c9c1329e08f07120aa8a8d93a9630989b Catalin(ux) M. BOIE 2017-07-06 18:37:28
Activate the caching also for HTTP/2.0 063b7e36532874272048f1d193176499e834b0a0 Catalin(ux) M. BOIE 2017-07-06 18:24:34
Improve host name auto-detection problems to work in VM env b56dd82ac1db3ca2cc4478af65b27909f05dd228 Catalin(ux) M. BOIE 2017-07-06 17:58:10
compare: added number of lines c847d9da61749de86ffa0199f26cd68f4b80cc3a Catalin(ux) M. BOIE 2017-07-06 17:53:57
Added a make target to compute the number of lines 8695380c12480b1b7b8bc9c5f1ec63a115742d9f Catalin(ux) M. BOIE 2017-07-06 17:53:16
tests: fixed wh_http - time race closed 8f182423103c8fc2a4be10840b08be0564e2c814 Catalin(ux) M. BOIE 2017-07-02 07:01:12
Add texts about the under age and about what laws you have to respect 65af692eec97a62e7c2212e558aa3b6bc4d925ba Catalin(ux) M. BOIE 2017-07-01 20:21:06
If we get an error when checking the db version, just exit, do not try to do updates. 20a3c8e9fbcadcab05c1a24428b06c7dc6c39f7d Catalin(ux) M. BOIE 2017-06-30 18:56:45
rpm: Forgot to create nginx conf.d folder a2d33471bd782be5aea6ea72f8e21842fc3be07d Catalin(ux) M. BOIE 2017-06-25 10:25:42
Bumped version to 0.69 2411fe5ef068cf6a8b546edcecaac25363755275 Catalin(ux) M. BOIE 2017-06-25 08:20:15
TODO updates 56321b504fdcb1724f590981b29e6731ba0c8607 Catalin(ux) M. BOIE 2017-06-25 08:19:11
tests: switch to nginx; small fixes for the 'log' test 6c75b7de3db4135071155fcaebc4b7220ee966ed Catalin(ux) M. BOIE 2017-06-25 08:18:20
Apache sample config fixes a030309a796a84b99bc9568fe81291305492bf10 Catalin(ux) M. BOIE 2017-06-25 07:59:46
Small text changes 45797dbaf71ec5c922a8ed6e7b9497da64807eb4 Catalin(ux) M. BOIE 2017-06-25 07:58:25
tests: added a test with 500 10k commits ad3ce91ff291b9537ceca11995268e45a17407ef Catalin(ux) M. BOIE 2017-06-25 07:57:37
css: added warning_text class 17a1930f1661392629f3787cdd0150e971496512 Catalin(ux) M. BOIE 2017-06-25 07:56:48
web: the jump to a file did not work because of a wrong anchor bbb95d3a79ea686b3c145b532d072fc19c034297 Catalin(ux) M. BOIE 2017-06-25 07:53:52
css: when diff is too big, show it inline not as a ugly block 9fff8e0248793fc7a2d1346dc8af7ba1aa2fb7ea Catalin(ux) M. BOIE 2017-06-25 07:50:58
Small fixes to the 'download' section documentation a19ca599f6e6ec064952cc1d8f9ea3edd7947254 Catalin(ux) M. BOIE 2017-06-25 07:50:11
Commit 87d72dd3b50917b04e072d95ca22a0d639853701 - More debugging added to webhooks
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-07-09 06:28
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-07-09 06:28
Parent(s): 18786c9c9c1329e08f07120aa8a8d93a9630989b
Signing key:
Tree: 50d3d6f7f6a852e0f81e3321c68945d59d56b95b
File Lines added Lines deleted
inc/wh/cloud.inc.php 5 4
inc/wh/http.inc.php 6 3
File inc/wh/cloud.inc.php changed (mode: 100644) (index 870ed66..a27ff4b)
... ... require_once($INC . "/wh/amazon.inc.php");
9 9
10 10 $rg_wh_cloud_functions = array( $rg_wh_cloud_functions = array(
11 11 'wh_cloud_send' => 'rg_wh_cloud_send', 'wh_cloud_send' => 'rg_wh_cloud_send',
12 20001 => 'rg_wh_cloud_send_one'
12 'rg_wh_cloud_send_one' => 'rg_wh_cloud_send_one'
13 13 ); );
14 14 rg_event_register_functions($rg_wh_cloud_functions); rg_event_register_functions($rg_wh_cloud_functions);
15 15
 
... ... function rg_wh_cloud_send($db, $event)
111 111 if (strcmp($wh['htype'], 'cloud') != 0) if (strcmp($wh['htype'], 'cloud') != 0)
112 112 continue; continue;
113 113
114 // Diabled?
115 if (strchr($wh['flags'], 'D'))
114 if (strchr($wh['flags'], 'D')) {
115 rg_log('DEBUG: hook is disabled');
116 116 continue; continue;
117 }
117 118
118 119 // If the web hook does not contain our type, skip it // If the web hook does not contain our type, skip it
119 120 if (!strchr($wh['idata']['events'], $event['wh_event'])) { if (!strchr($wh['idata']['events'], $event['wh_event'])) {
 
... ... function rg_wh_cloud_send($db, $event)
134 135 } }
135 136
136 137 $x = $event; $x = $event;
137 $x['category'] = 20001;
138 $x['category'] = 'rg_wh_cloud_send_one';
138 139 $x['wh'] = $wh; $x['wh'] = $wh;
139 140 $x['debug'] = $wh['idata']['debug']; $x['debug'] = $wh['idata']['debug'];
140 141 $ret[] = $x; $ret[] = $x;
File inc/wh/http.inc.php changed (mode: 100644) (index d6182c3..f3bc423)
... ... function rg_wh_http_send($db, $event)
163 163
164 164 // Filter // Filter
165 165 foreach ($r['list'] as $id => $wh) { foreach ($r['list'] as $id => $wh) {
166 if (strcmp($wh['htype'], 'http') != 0)
166 if (strcmp($wh['htype'], 'http') != 0) {
167 rg_log('DEBUG: htype is not \'http\' but [' . $wh['htype'] . ']!');
167 168 continue; continue;
169 }
168 170
169 // Diabled?
170 if (strchr($wh['flags'], 'D'))
171 if (strchr($wh['flags'], 'D')) {
172 rg_log('DEBUG: hook is disabled!');
171 173 continue; continue;
174 }
172 175
173 176 // If the web hook does not contain our type, skip it // If the web hook does not contain our type, skip it
174 177 if (!strchr($wh['idata']['events'], $event['wh_event'])) { if (!strchr($wh['idata']['events'], $event['wh_event'])) {
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