Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Some events are doing some queries, and we need to cover them in transaction, not only the subevents | 4768ffec303961971cc0c3732a24e858f47dd381 | Catalin(ux) M. BOIE | 2020-12-15 07:33:36 |
Added rate limit for ssh and git connections | b667130e6c5721a3d30193863a5defd8bbff50f1 | Catalin(ux) M. BOIE | 2020-11-30 10:49:27 |
cosmetic | abe44edadda9da7c639b7bd8c9e13e6058555669 | Catalin(ux) M. BOIE | 2020-11-30 10:21:01 |
gpg functions and test | ecb9e05c99a2b73edfba5014329e362d8c6e9246 | Catalin(ux) M. BOIE | 2020-11-09 07:38:11 |
Stats page is not rendered for bots. | 29ca3f62ac460b64eb0a10fbb8bdfdf4a1767dc5 | Catalin(ux) M. BOIE | 2020-10-13 05:48:43 |
Added rate limit options | 60e939a52577a01603f9f386ffaf1a9712f99ab6 | Catalin(ux) M. BOIE | 2020-10-07 05:02:25 |
Improved bots list and clean old entries | 9da0a014040753734beabfecb298b8956fc25fe3 | Catalin(ux) M. BOIE | 2020-10-05 06:34:43 |
builder: use secrets only if available | 4fe47afc60435508ad90f62c51d489ac3c20b4d0 | Catalin(ux) M. BOIE | 2020-08-28 07:29:14 |
worker: use secrets only if available | 5371e918e294a46cc38c765371a1caf7a3083eef | Catalin(ux) M. BOIE | 2020-08-28 07:28:12 |
builder: do not break meta variable | 1d8207b1a782ab039406dbd087cdc9bb5ea0b898 | Catalin(ux) M. BOIE | 2020-08-28 07:27:48 |
Whitespace | 86086337c5323b073f517bc59c18aba0808fb4f3 | Catalin(ux) M. BOIE | 2020-08-24 07:22:13 |
Bump version to 0.73 | 7cac4d7a31116ac9ad86e0babeb0c1aace5dd852 | Catalin(ux) M. BOIE | 2020-08-23 15:32:03 |
duilder update | f691d84aa0aa70ef60a7487f247ed1a9ab1e3ab1 | Catalin(ux) M. BOIE | 2020-08-23 15:31:38 |
Bot prevention should not be active for edit operation | 371c60a486ea989fafb66266cab71ea9f7db0269 | Catalin(ux) M. BOIE | 2020-08-23 15:02:13 |
TODO update | 32591f3b1cf054bd70411592e5a82f5898d7da2f | Catalin(ux) M. BOIE | 2020-08-23 15:01:51 |
Show also by which protocol a user is connecting | d35b5b12103f9a72a3e8788e7c48532b9c1e5b89 | Catalin(ux) M. BOIE | 2020-08-23 15:01:30 |
Fixed a small locking issue (unlock without lock) | 0d1e7915545de251eea7f3bce468647fc2df1bf9 | Catalin(ux) M. BOIE | 2020-08-23 15:00:58 |
Give up the cache if we cannot connect in 150ms | dad6cf20f9f4bdbfe2026809a404e852e7cd8e53 | Catalin(ux) M. BOIE | 2020-08-23 15:00:20 |
Limit the number of repositories in the discover page | a0de6d683b59934168ef8415c9ec716aef68b195 | Catalin(ux) M. BOIE | 2020-08-23 14:58:37 |
Added support for other branch then master (main prefered) | 1108f43c3639ffcc06f1314d901640564fae7483 | Catalin(ux) M. BOIE | 2020-08-23 14:55:51 |
File | Lines added | Lines deleted |
---|---|---|
inc/events.inc.php | 8 | 4 |
File inc/events.inc.php changed (mode: 100644) (index 5ec6b50..0aceb6a) | |||
... | ... | function rg_event_process($db, $ev_id, $event) | |
145 | 145 | break; | break; |
146 | 146 | } | } |
147 | 147 | ||
148 | $r = rg_sql_begin($db); | ||
149 | if ($r !== TRUE) | ||
150 | break; | ||
151 | $rollback = TRUE; | ||
152 | |||
148 | 153 | $f = $rg_event_split_functions[$category]; | $f = $rg_event_split_functions[$category]; |
149 | 154 | rg_log("Calling $f..."); | rg_log("Calling $f..."); |
150 | 155 | $evs = $f($db, $event); | $evs = $f($db, $event); |
... | ... | function rg_event_process($db, $ev_id, $event) | |
159 | 164 | break; | break; |
160 | 165 | } | } |
161 | 166 | ||
162 | $r = rg_sql_begin($db); | ||
163 | if ($r !== TRUE) | ||
167 | if (empty($evs)) { | ||
168 | $ret = TRUE; | ||
164 | 169 | break; | break; |
165 | $rollback = TRUE; | ||
170 | } | ||
166 | 171 | ||
167 | 172 | $r = TRUE; | $r = TRUE; |
168 | 173 | foreach ($evs as $index => $ev) { | foreach ($evs as $index => $ev) { |
... | ... | function rg_event_process($db, $ev_id, $event) | |
181 | 186 | $ret = TRUE; | $ret = TRUE; |
182 | 187 | break; | break; |
183 | 188 | } | } |
184 | |||
185 | 189 | if ($rollback) | if ($rollback) |
186 | 190 | rg_sql_rollback($db); | rg_sql_rollback($db); |
187 | 191 |