Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
e7dfac68
Commit
e7dfac68
authored
Jan 07, 2019
by
beardedwarrior
Browse files
added a couple changes for the jekyll files
parent
1cb57c7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/Console/Commands/UpdateSiteProposals.php
View file @
e7dfac68
...
...
@@ -76,10 +76,10 @@ class UpdateSiteProposals extends Command
$prop
->
name
=
$proposal
->
title
;
$prop
->
{
'gitlab-url'
}
=
$proposal
->
gitlab_url
;
$prop
->
{
'local-url'
}
=
'#'
;
$prop
->
{
'donate-url'
}
=
'#'
;
$prop
->
percentage
=
0
;
$prop
->
{
'donate-url'
}
=
url
(
"projects/
{
$proposal
->
payment_id
}
/donate"
)
;
$prop
->
percentage
=
$proposal
->
percentage_funded
;
$prop
->
amount
=
$proposal
->
target_amount
;
$prop
->
{
'amount-funded'
}
=
$proposal
->
target_amount
;
$prop
->
{
'amount-funded'
}
=
$proposal
->
amount_received
;
$prop
->
author
=
$proposal
->
gitlab_username
;
$prop
->
date
=
$proposal
->
gitlab_created_at
->
format
(
'F j, Y'
);
$responseProposals
[]
=
$prop
;
...
...
@@ -99,12 +99,12 @@ class UpdateSiteProposals extends Command
$prop
->
name
=
$proposal
->
title
;
$prop
->
{
'gitlab-url'
}
=
$proposal
->
gitlab_url
;
$prop
->
{
'local-url'
}
=
'#'
;
$prop
->
milestones
=
4
;
$prop
->
{
'milestones-completed'
}
=
4
;
$prop
->
{
'milestones-percentage'
}
=
10
0
;
$prop
->
percentage
=
0
;
$prop
->
milestones
=
0
;
$prop
->
{
'milestones-completed'
}
=
0
;
$prop
->
{
'milestones-percentage'
}
=
0
;
$prop
->
percentage
=
$proposal
->
percentage_funded
;
$prop
->
amount
=
$proposal
->
target_amount
;
$prop
->
{
'amount-funded'
}
=
$proposal
->
target_amount
;
$prop
->
{
'amount-funded'
}
=
$proposal
->
amount_received
;
$prop
->
author
=
$proposal
->
gitlab_username
;
$prop
->
date
=
$proposal
->
gitlab_created_at
->
format
(
'F j, Y'
);
$responseProposals
[]
=
$prop
;
...
...
app/Console/Kernel.php
View file @
e7dfac68
...
...
@@ -2,6 +2,11 @@
namespace
App\Console
;
use
App\Console\Commands\fetchMergeRequests
;
use
App\Console\Commands\GenerateAddresses
;
use
App\Console\Commands\ProcessProposals
;
use
App\Console\Commands\UpdateSiteProposals
;
use
App\Console\Commands\walletNotify
;
use
Illuminate\Console\Scheduling\Schedule
;
use
Illuminate\Foundation\Console\Kernel
as
ConsoleKernel
;
...
...
@@ -24,8 +29,16 @@ class Kernel extends ConsoleKernel
*/
protected
function
schedule
(
Schedule
$schedule
)
{
// $schedule->command('inspire')
// ->hourly();
$schedule
->
command
(
fetchMergeRequests
::
class
)
->
everyMinute
();
$schedule
->
command
(
GenerateAddresses
::
class
)
->
everyMinute
();
$schedule
->
command
(
ProcessProposals
::
class
)
->
everyMinute
();
$schedule
->
command
(
UpdateSiteProposals
::
class
)
->
everyMinute
();
$schedule
->
command
(
walletNotify
::
class
)
->
everyMinute
();
}
/**
...
...
monero/WalletOld.php
View file @
e7dfac68
...
...
@@ -61,8 +61,8 @@ class WalletOld
/**
* Scans the monero blockchain for transactions for the payment ids
*
* @param $blockheight
* @param $paymentIDs
* @param
int
$blockheight
* @param
Collection
$paymentIDs
*
* @return array|Transaction
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment