Re: [boinc_dev] odd Bootstrap behavior

2016-11-14 Thread David Anderson
Oops! Right you are. That fixed the problem. On 11/14/2016 11:43 PM, Rytis Slatkevičius wrote: Checking dev forums, there is also white.css, which applies the following background image: input[type="button"], input[type="submit"], .btn, a.btn { background: #EDEDED url(img/white_grad.png)

Re: [boinc_dev] odd Bootstrap behavior

2016-11-14 Thread Rytis Slatkevičius
Checking dev forums, there is also white.css, which applies the following background image: input[type="button"], input[type="submit"], .btn, a.btn { background: #EDEDED url(img/white_grad.png) repeat-x scroll left top; color: black; border-color: #ccc; } -- Pagarbiai / Sincerely Ryt

[boinc_dev] odd Bootstrap behavior

2016-11-14 Thread David Anderson
When I use class="btn btn-primary" on a button or input, there's weirdness: - the button appears gray (isn't it supposed to be blue?) - when you hover over the button, a dark blue bar appears at the bottom. - if you press and hold the left mouse button, the button changes to all blue with white

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread David Anderson
I agree with Christian. If we have reasonably effective means to recognize and remove spam accounts/profiles/teams etc., that's good enough. On 11/14/2016 1:10 AM, Christian Beer wrote: I don't think account creation is the right place to fix it. Especially since it will break older Clients. T

Re: [boinc_dev] Bootstrap

2016-11-14 Thread David Anderson
Uwe: To get a dark-background color scheme, use a Bootstrap theme. There are many sources of these; see http://boinc.berkeley.edu/trac/wiki/StyleSheets Note: the one I tried had a problem with white-on-white text in s, e.g. country selector. If anyone knows why please let me know. -- David On 1

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread David Anderson
Slawomir: Can you please post the code diffs for the changes you describe? Thanks -- David On 11/14/2016 8:09 AM, TJM wrote: Hello, I've been dealing with huge amounts of spam accounts for the past few months, averaging at 500k or more registration attempts weekly. My project was hit by some k

Re: [boinc_dev] [boinc_projects] Bootstrap

2016-11-14 Thread David Anderson
I added an optional 4th arg to grid(), specifying the width of the left column in 1/12-window units. E.g. to get a wider left column, change your index.php to say: grid('top', 'left', 'right', 7); -- David On 11/14/2016 8:50 AM, yoyo wrote: I know ;) But the source where it is currently implem

Re: [boinc_dev] [boinc_projects] Bootstrap

2016-11-14 Thread yoyo
I know ;) But the source where it is currently implemented is in inc/bootstrap.inc and if I change it it might be overwritten by the next update :(. CM schrieb: > Hey yoyo, > > Bootstrap is super easy to use: https://getbootstrap.com/css/#grid > > When specifying the divs you provide multiple

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread TJM
Hello, I've been dealing with huge amounts of spam accounts for the past few months, averaging at 500k or more registration attempts weekly. My project was hit by some kind of large botnet. I had to modify lots of things but currently it looks like I'm winning the battle. Here's what I did +

Re: [boinc_dev] [boinc_projects] Spammer account attack happening.

2016-11-14 Thread Charles Elliott
A long time ago, a vice president once told me that when a serious situation arises just say to yourself, "That's good." Then, presumably, figure out why it is good. That part can take days, weeks, or even months. So we know that the spammer attacks are good, so how could they possibly be good?

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread Christian Beer
On 14.11.2016 10:49, Jord van der Elst wrote: > 3. On the user account, completely visible to all, logged in or not. > Example in the field: > https://setiathome.berkeley.edu/show_user.php?userid=20272 > > This account and its URL can be read by logged in and not logged in > users. So one can link

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread Jord van der Elst
3. On the user account, completely visible to all, logged in or not. Example in the field: https://setiathome.berkeley.edu/show_user.php?userid=20272 This account and its URL can be read by logged in and not logged in users. So one can link to this account to get people or things to follow the URL

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread CM
Hey, I like the idea of access control, but not solely for 'known AMs' because the Gridcoin community plans on creating multiple AMs in the future (pools=AMs). In the 'spammer account attack' email thread I suggested a personal RPC/API access code that an user could generate from their user p

Re: [boinc_dev] [boinc_projects] Bootstrap

2016-11-14 Thread CM
Hey yoyo, Bootstrap is super easy to use: https://getbootstrap.com/css/#grid When specifying the divs you provide multiple sizes for different screen sizes (xs=mobile, sm=tablet, md=small monitor, lg=large monitor). So an example (1/3 left, 2/3 right) for a large monitor would be:

Re: [boinc_dev] [boinc_projects] Web RPC access control

2016-11-14 Thread Christian Beer
On 11.11.2016 22:46, David Anderson wrote: > The create-account RPC is used by > - account managers (BAM!, etc.) > - the BOINC client > > If it were just account managers we could add some kind of access control > (i.e. accept RPCs only from known AMs). > But this would break the client. > > What t