Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fixed state_set function | cf9cc661bca7194dbb65acdcbb253552be7acf70 | Catalin(ux) M. BOIE | 2015-04-08 21:11:10 |
Mostly merge request display fixes; log delete | d931fe7c4170643e46404c32659f4dce031d4cb4 | Catalin(ux) M. BOIE | 2015-04-08 18:39:59 |
Checkpoint | 2d64b6d16a45ced4f751b6b64972cb0c3cf7d21c | Catalin(ux) M. BOIE | 2015-04-07 04:23:33 |
Spell check; bump version | bbb797a48b9c4bb00c411305c10ebe750a846bc5 | Catalin(ux) M. BOIE | 2015-03-30 18:15:46 |
Small fixes for init part | 3477c411854eb1749cfb1e423eab6455d9302ec5 | Catalin(ux) M. BOIE | 2015-03-29 21:48:49 |
Checkpoint | e19235372a5c1f19ce6e070ad6d0173571ebc50b | Catalin(ux) M. BOIE | 2015-03-29 16:03:13 |
Added license support | 7a675f59c73ad5383033acbee2de98d2c31d1681 | Catalin(ux) M. BOIE | 2015-03-22 08:28:33 |
Added rg_git_content_by_file funcion, no users right now | d0be6070962a782adf99e08155ea04cef619368e | Catalin(ux) M. BOIE | 2015-03-22 08:28:24 |
Update last_seen only at login/logout, not on every access | f50c94843c00656a453979591585c3d9d073469c | Catalin(ux) M. BOIE | 2015-03-20 04:42:10 |
Fix slave tables creation (year was incorrect | 4c9eaa994fa1e2370812e49fe85742f00f51ee7b | Catalin(ux) M. BOIE | 2015-03-19 20:50:05 |
When repo is created, update cache | df91965df1900e161ae9641e03217671135cb97b | Catalin(ux) M. BOIE | 2015-03-19 20:06:51 |
'deleted' field for a bug is added only on 'add' operation | 1832f125018048ae65dbc6ef5f5dc9a9e7fa71ff | Catalin(ux) M. BOIE | 2015-03-19 19:41:19 |
Init 'deleted' field for repos | 00078770ac766c414c3235765168e36f173662ae | Catalin(ux) M. BOIE | 2015-03-19 19:40:46 |
Added a spell check script. | 38beca5c78de25eb8f836772d5305b1bbb0b01d7 | Catalin(ux) M. BOIE | 2015-03-19 19:12:10 |
Checkpoint | 77566839b41679a09859afad2a246b4d1d346c5a | Catalin(ux) M. BOIE | 2015-03-18 18:03:53 |
Checkpoint, all tests pass | 489486b1331c835ea253aa267f0ae38025206c49 | Catalin(ux) M. BOIE | 2015-03-08 23:22:28 |
Checkpoint: apply xss protection only on output | 553d3374edc1c93cb5af6d5807ead7d862fc5b61 | Catalin(ux) M. BOIE | 2015-03-05 22:14:42 |
Improved diff output (copy/rename/etc.) | 823f8f1ff43c8db148d2b642da87ac10dc67543e | Catalin(ux) M. BOIE | 2015-02-14 22:38:14 |
Bump version to 0.20 | f794575c600cb52f12a406bf1945966b573c6209 | Catalin(ux) M. BOIE | 2015-01-27 23:12:33 |
Small fixes after beta deploy | 10774b229bcb8eebf30781c602e300a2618b60c0 | Catalin(ux) M. BOIE | 2015-01-27 23:11:50 |
File | Lines added | Lines deleted |
---|---|---|
TODO | 2 | 0 |
inc/state.inc.php | 5 | 1 |
File TODO changed (mode: 100644) (index f976f0b..1d0ca38) | |||
31 | 31 | [ ] | [ ] |
32 | 32 | ||
33 | 33 | == BEFORE NEXT RELEASE == | == BEFORE NEXT RELEASE == |
34 | [ ] Add right 'allow bad commit messages'. | ||
35 | [ ] Add a new section in 'Rights' to enforce a regex on the commit message. | ||
34 | 36 | [ ] Merge requests are not ok - still using files. | [ ] Merge requests are not ok - still using files. |
35 | 37 | But, we also insert entries in database! | But, we also insert entries in database! |
36 | 38 | [ ] Need to add comments for merge request. Find a way to propagate them in the | [ ] Need to add comments for merge request. Find a way to propagate them in the |
File inc/state.inc.php changed (mode: 100644) (index f9f0e17..360640e) | |||
... | ... | function rg_state_set($db, $var, $value) | |
95 | 95 | $ret = FALSE; | $ret = FALSE; |
96 | 96 | while (1) { | while (1) { |
97 | 97 | $params = array("var" => $var, "value" => $value); | $params = array("var" => $var, "value" => $value); |
98 | if (rg_state_get($db, $var) === FALSE) { | ||
98 | $old = rg_state_get($db, $var); | ||
99 | if (strcmp($old, $value) == 0) | ||
100 | return TRUE; | ||
101 | |||
102 | if ($old === "") { | ||
99 | 103 | $sql = "INSERT INTO state (var, value)" | $sql = "INSERT INTO state (var, value)" |
100 | 104 | . " VALUES (@@var@@, @@value@@)"; | . " VALUES (@@var@@, @@value@@)"; |
101 | 105 | } else { | } else { |