CCS Backend merge requestshttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests2019-03-05T15:29:06Zhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/1drop GITLAB_ACCESS_TOKEN requirement2019-03-05T15:29:06Zxiphonxiphon@protonmail.comdrop GITLAB_ACCESS_TOKEN requirementhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/2readme: don't use package manager to install Composer2019-03-05T15:29:21Zxiphonxiphon@protonmail.comreadme: don't use package manager to install Composerhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/3project: fix raised_amount, drop amount_received field2019-03-05T15:45:51Zxiphonxiphon@protonmail.comproject: fix raised_amount, drop amount_received fieldhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/4donate: remove calendar icon duplicate2020-04-21T20:08:07Zxiphonxiphon@protonmail.comdonate: remove calendar icon duplicatehttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/5donate: fix FFS mention2019-03-06T18:00:20Zxiphonxiphon@protonmail.comdonate: fix FFS mentionhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/7sort proposals by date2019-03-27T04:11:05Zxiphonxiphon@protonmail.comsort proposals by datehttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/8Fix multi-destination deposits2019-04-30T18:35:41Zxiphonxiphon@protonmail.comFix multi-destination depositsResolves https://repo.getmonero.org/monero-project/ccs-proposals/issues/4Resolves https://repo.getmonero.org/monero-project/ccs-proposals/issues/4https://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/9deposit: 'deposit:list' cmd to print all deposits info to stdout2019-04-29T23:12:47Zxiphonxiphon@protonmail.comdeposit: 'deposit:list' cmd to print all deposits info to stdouthttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/10proposals: hide fr/wip/cp proposals if .md file doesn't exist2019-05-28T21:38:25Zxiphonxiphon@protonmail.comproposals: hide fr/wip/cp proposals if .md file doesn't existhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/11proposals: allow overriding 'gitlab_url' for fr/wp/cp projects2019-05-28T21:38:54Zxiphonxiphon@protonmail.comproposals: allow overriding 'gitlab_url' for fr/wp/cp projectshttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/12api: fix 'projects' endpoint, don't paginate, always return JSON2019-09-12T16:05:44Zxiphonxiphon@protonmail.comapi: fix 'projects' endpoint, don't paginate, always return JSONFixes https://repo.getmonero.org/monero-project/monero-site/issues/689
Updated `projects` JSON API endpoint. Will be available at https://ccs.getmonero.org/index.php/projects
Returns all `FUNDING-REQUIRED`, `WORK-IN-PROGRESS` and `COMP...Fixes https://repo.getmonero.org/monero-project/monero-site/issues/689
Updated `projects` JSON API endpoint. Will be available at https://ccs.getmonero.org/index.php/projects
Returns all `FUNDING-REQUIRED`, `WORK-IN-PROGRESS` and `COMPLETED` projects.
```json
{
"data":
[
{
"address": <address>,
"author": <author>,
"contributions": <contributions>,
"date": <date>,
"percentage_funded": <percentage_funded>,
"raised_amount": <raised_amount>,
"state": <state>,
"target_amount": <target_amount>,
"title": <title>
},
...
]
}
```https://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/13GenerateAddresses: skip already used address or subaddress index2020-04-21T16:34:57Zxiphonxiphon@protonmail.comGenerateAddresses: skip already used address or subaddress indexhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/14MoneroNotify: 'height' argument might be undefined (wallet:notify)2020-04-21T17:44:04Zxiphonxiphon@protonmail.comMoneroNotify: 'height' argument might be undefined (wallet:notify)https://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/15Wallet: skip txes containing locked outputs2021-04-26T01:21:03Zxiphonxiphon@protonmail.comWallet: skip txes containing locked outputsReported by @TheCharlatanReported by @TheCharlatanhttps://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/16Change license to BSD 3-Clause, on the basis of:2022-09-01T19:21:09Zjohn_r365Change license to BSD 3-Clause, on the basis of:- Riccardo: "I've spoken to GloBee, and they are fine with the licensing, as long as it's liberal (BSD 3-clause / MIT preferred)." ([link](https://repo.getmonero.org/monero-project/ccs-front/-/issues/5#note_11150))
- Also have confirmati...- Riccardo: "I've spoken to GloBee, and they are fine with the licensing, as long as it's liberal (BSD 3-clause / MIT preferred)." ([link](https://repo.getmonero.org/monero-project/ccs-front/-/issues/5#note_11150))
- Also have confirmation separately in multiple places from Rehrar that he's happy with permissive licensing.
On that basis, am proposing to change the license to BSD 3-Clause, which is the same licence that the rest of the Monero site uses.
There wasn't an intentional decision at the start that this work should be copyrighted, but it was, and now we can fix that.https://repo.getmonero.org/monero-project/ccs-back/-/merge_requests/17allow for spaces after "---"2022-10-31T02:55:43Zplowsoffallow for spaces after "---"```php
<?php
$contents = preg_split('/\r?\n?---(|\s+)\r?\n/m', "--- \nhello:1\nworld:2\nok:1\nok:2\n---\nsaac");
if (sizeof($contents) < 3) {
throw new \Exception("Failed to parse proposal, can't find YAML description surrounded by...```php
<?php
$contents = preg_split('/\r?\n?---(|\s+)\r?\n/m', "--- \nhello:1\nworld:2\nok:1\nok:2\n---\nsaac");
if (sizeof($contents) < 3) {
throw new \Exception("Failed to parse proposal, can't find YAML description surrounded by '---' lines");
} else {
echo "\nIts ok";
}
?>
```
https://onlinephp.io/
(|\s+) = nothing OR space(s)
"--- " "---" "--- " = ok