Skip to content

Commit

Permalink
Merge pull request #114 from ssivachidambaram/master
Browse files Browse the repository at this point in the history
v0.1.6 files updated.
  • Loading branch information
S. Sivachidambaram committed Dec 24, 2015
2 parents e88b650 + 0f25bc5 commit fde9693
Show file tree
Hide file tree
Showing 1,028 changed files with 9,867 additions and 3,265 deletions.
33 changes: 29 additions & 4 deletions Gruntfile.js

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ To upgrade, overwrite application files and apply respective DB script:
* v0.1.2 to v0.1.3 - `/sql/upgrade-0.1.2-0.1.3.sql`
* v0.1.3 to v0.1.4 - `/sql/upgrade-0.1.3-0.1.4.sql`
* v0.1.4 to v0.1.5 - `/sql/upgrade-0.1.4-0.1.5.sql`
* v0.1.5 to v0.1.6 - `/sql/upgrade-0.1.5-0.1.6.sql`

### Forum

Expand All @@ -42,16 +43,12 @@ To give you some idea about of our plans:
* Simple app architecture
* "Import from GitHub" sample app
* Current API tweaks to accept other oAuth clients "properly"
* UI enhancements
* Better responsive mobile view
* Address some [known issues](http://restya.com/board/issues.html)
* Notifier iOS App (Possibly, Free and non-open source)


#### Next

* Email notifications
* Brainstorm for "best" approach
* Refactor R framework
* Our focus on shipping this somewhat bloated "ultra thin" R framework. Better use new "REST URL to DB Query builder" code once that is tested (?).
* Merge caching layer works (Or, only in commerical?)
Expand Down Expand Up @@ -82,7 +79,7 @@ Required sofware: nginx, php-fpm (with mbstring), PostgreSQL, ElasticSearch, Gru
* `grunt watch` - Converts LESS to CSS and EJS to JS, automatically by "watching" for file changes
* `restyaboard_with_empty_data.sql` - Database generation script
* `server/php/R/config.inc.php` - Database and other configurations
* `media` & `client/img` - Need write permission for php; can be `chmod 655` or `755` or `777` depending upon server configuration
* `media`, `client/img` & `server/php/R/shell/*.sh` - Need write permission for php; can be `chmod 655` or `755` or `777` depending upon server configuration
* `grunt build:live` - Generates restyaboard.zip, deployable code. Replace your DB details in `build/live.json`.

------------
Expand Down
4 changes: 1 addition & 3 deletions api_explorer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@
window.authorizations.add("key", new ApiKeyAuthorization("Authorization", key, "header"));
}
});
key = "Basic " + encode("0:9310fe729befa818361410932946360f16237c32");
window.authorizations.add("key", new ApiKeyAuthorization("Authorization", key, "header"));
window.swaggerUi.load();
window.swaggerUi.load();
});

</script>
Expand Down
75 changes: 1 addition & 74 deletions client/css/css-avatars.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,88 +15,15 @@
}

// sizes:

.avatar { width: 32px; height: 32px; line-height: 32px; font-size: 16px; }
.avatar-sm { width: 16px; height: 16px; line-height: 16px; font-size: 8px; }
.avatar-md { width: 64px; height: 64px; line-height: 64px; font-size: 32px; }
.avatar-lg { width: 128px; height: 128px; line-height: 128px; font-size: 64px; }

// letters:

.avatar:before { }
.avatar-letter-a:before { content: "\0061"; }
.avatar-letter-b:before { content: "\0062"; }
.avatar-letter-c:before { content: "\0063"; }
.avatar-letter-d:before { content: "\0064"; }
.avatar-letter-e:before { content: "\0065"; }
.avatar-letter-f:before { content: "\0066"; }
.avatar-letter-g:before { content: "\0067"; }
.avatar-letter-h:before { content: "\0068"; }
.avatar-letter-i:before { content: "\0069"; }
.avatar-letter-j:before { content: "\006A"; }
.avatar-letter-k:before { content: "\006B"; }
.avatar-letter-l:before { content: "\006C"; }
.avatar-letter-m:before { content: "\006D"; }
.avatar-letter-n:before { content: "\006E"; }
.avatar-letter-o:before { content: "\006F"; }
.avatar-letter-p:before { content: "\0070"; }
.avatar-letter-q:before { content: "\0071"; }
.avatar-letter-r:before { content: "\0072"; }
.avatar-letter-s:before { content: "\0073"; }
.avatar-letter-t:before { content: "\0074"; }
.avatar-letter-u:before { content: "\0075"; }
.avatar-letter-v:before { content: "\0076"; }
.avatar-letter-w:before { content: "\0077"; }
.avatar-letter-x:before { content: "\0078"; }
.avatar-letter-y:before { content: "\0079"; }
.avatar-letter-z:before { content: "\007A"; }

// colors:

@color-dark: #333;
@color-light: #eee;
@safe-rgb: 0, 51, 102, 153, 204, 255;
@size: length(@safe-rgb);
@shadow-offset: 0.02em 0.02em 0.02em;
@text-shadow-basic: lighten(@color-dark, 10%) @shadow-offset;
@text-shadow-inverse: darken(@color-light, 50%) @shadow-offset;

.avatar { background-color: @color-dark; color: @color-light; text-shadow: @text-shadow-basic; border-radius:@border-radius-base;}

.font-color-mixin (@newColor) when not(@newColor = @color-light) {
color: @newColor;
}

.background-color-mixin (@newColor) when not(@newColor = @color-dark) {
background-color: @newColor;
}

.initialize-inverse-mixin (@n, @index) when (@n = @index) {
.avatar-inverse { background-color: @color-dark; color: @color-light; text-shadow: @text-shadow-inverse; }
}

.generate-colors(216);
.generate-colors(@n, @i: 0) when (@i < @n) {
@mod3: mod(@i, @size);
@mod2: mod(floor(@i / @size), @size);
@mod1: mod(floor(floor(@i / @size) / @size), @size);
@blue: extract(@safe-rgb, (@mod3 + 1));
@green: extract(@safe-rgb, (@mod2 + 1));
@red: extract(@safe-rgb, (@mod1 + 1));
@primaryColor: rgb(@red, @green, @blue);
@secondaryColor: contrast(@primaryColor, @color-dark, @color-light);
.avatar-color-@{i} {
background-color: @primaryColor;
.font-color-mixin(@secondaryColor);
}
.generate-colors(@n, (@i + 1));

.initialize-inverse-mixin(@n, (@i + 1));

.avatar-inverse.avatar-color-@{i} {
.background-color-mixin(@secondaryColor);
color: @primaryColor;
}
}

.avatar-plain { text-shadow: none; }
.avatar { background-color: @color-dark; color: @color-light; text-shadow: @text-shadow-inverse; border-radius:@border-radius-base;}
Loading

0 comments on commit fde9693

Please sign in to comment.