Commit graph

239 commits

Author SHA1 Message Date
Matthew Taylor
fe96c6fa71 Override Slider's arrows setting by row length
If the row length is less than `slidesToShow`, don't show the arrows.
2015-10-21 16:49:50 -04:00
Matthew Taylor
1c567574d5 Merge pull request #114 from mewtaylor/issue/103-truncate-thumb-username
use ellipsis if text overflows
2015-10-21 16:22:54 -04:00
Ray Schamp
713317cb09 Merge pull request #115 from rschamp/feature/organize-splash-methods
Organize view methods
2015-10-21 15:23:27 -04:00
Matthew Taylor
a40915c60a use ellipsis if text overflows and urlify username
fixes #103 and #113
2015-10-21 15:22:59 -04:00
Ray Schamp
345540aa20 Organize view methods
Proposing this ordering: attributes, lifecycle, getters, handlers, rendering
2015-10-21 15:12:41 -04:00
Ray Schamp
41770ad549 Merge pull request #94 from thisandagain/bugfix/messages
Fix messages XHR request and prop defaults
2015-10-21 14:54:32 -04:00
Ray Schamp
0e515c14f4 Merge pull request #112 from mewtaylor/issue/108-scratched-caps
Capitalize `ScratchEd`
2015-10-21 14:47:48 -04:00
Matthew Taylor
05cfb5e9da Capitalize ScratchEd
Fixes #108
2015-10-21 14:46:51 -04:00
Ray Schamp
b847777d09 Merge pull request #111 from rschamp/feature/hide-empty-rows
Only display custom rows that exist and have items
2015-10-21 14:34:37 -04:00
Ray Schamp
8df5e41991 Only display custom rows that exist and have items 2015-10-21 14:27:29 -04:00
Ray Schamp
60a9681f3f Merge pull request #104 from rschamp/bugfix/message-count
Fix GH-97: Grow message bubble with count
2015-10-21 14:17:07 -04:00
Matthew Taylor
20a3efcbf4 Merge pull request #106 from mewtaylor/feature/project-count-from-api
Get project count from api when logged out
2015-10-21 14:17:03 -04:00
Matthew Taylor
43ea666141 Get project count from api when logged out 2015-10-21 14:12:34 -04:00
Ray Schamp
849cc30e1a Fix GH-97: Grow message bubble with count 2015-10-21 14:07:18 -04:00
Andrew Sliwinski
9ed814cbda Default admin panel to closed 2015-10-20 21:53:24 -04:00
Andrew Sliwinski
2553c69653 Set 'black' default props for thumbnails and carousel 2015-10-20 21:33:00 -04:00
Andrew Sliwinski
5960f72e81 Remove localhost from api call for message count 2015-10-20 21:22:54 -04:00
Ray Schamp
737a53294d Merge pull request #93 from rschamp/bugfix/fix-joining
Fix registration, fix upgraded react-modal
2015-10-20 19:45:29 -04:00
Ray Schamp
cad69eb33e Remove mixin import
ht @thisandagain
2015-10-20 19:38:43 -04:00
Ray Schamp
715ef7d675 Lint 2015-10-20 19:35:19 -04:00
Ray Schamp
65734a9577 Adapt to upgraded react-modal style handling 2015-10-20 19:28:28 -04:00
Ray Schamp
66105f989c Re-enable join click handler 2015-10-20 17:58:28 -04:00
Matthew Taylor
23558f583f change max to limit for new api 2015-10-20 17:07:16 -04:00
Matthew Taylor
5d4dbf638c Merge pull request #90 from mewtaylor/issue/update-language-footer
Use language dropdown form to change language
2015-10-20 16:52:42 -04:00
Ray Schamp
be9642627e Merge pull request #89 from rschamp/feature/handle-bans
Redirect to ban appeal if the user is banned
2015-10-20 16:51:40 -04:00
Matthew Taylor
7e4555e6b6 Use language dropdown form to change language
xhr was not updating the session/cookie for some reason. So just force state change, and force form submission to change language
2015-10-20 16:51:30 -04:00
Ray Schamp
ad7be2dad8 Redirect to ban appeal if the user is banned
The default behavior is for the `/session/` request to be redirected to the ban appeal page. Unfortunately we can't detect this 302 response, as the browser transparently handles it and javascript just sees a 200 response with a weird body.  So I've updated scratchr2 to return a special response for banned `/session/` requests.
2015-10-20 16:17:53 -04:00
Ray Schamp
804241a544 Merge pull request #87 from rschamp/bugfix/fix-login
Use ReactDOM.findDOMNode for login field values
2015-10-20 15:44:09 -04:00
Ray Schamp
13ee5ad86d Use ReactDOM.findDOMNode for login field values
The direct reference didn't work as expected I think because we're nesting the `input` within our own `Input` components.
2015-10-20 15:24:56 -04:00
Ray Schamp
3105edc3b6 Merge pull request #84 from rschamp/feature/homepage-rows-api
Pull homepage rows from the API
2015-10-20 15:00:53 -04:00
Ray Schamp
50646b6c3c Localize homepage row content 2015-10-20 14:49:25 -04:00
Ray Schamp
6259cb5b97 Pull homepage rows from the API
Not localized yet
2015-10-20 14:49:25 -04:00
Ray Schamp
abfb485560 Merge pull request #83 from mewtaylor/issue/65-splash-activity-hookup
Get *What's Happening?* box data from api
2015-10-20 13:59:46 -04:00
Matthew Taylor
22e8ceca5e Activity with current friends-activity format
This updates `activity.jsx` to handle the current `friends-activity` format (which is a bit hacky atm), and uses `FormattedRelative` to handle relative timestamps
2015-10-20 13:41:17 -04:00
Ray Schamp
6cdc447e83 Merge pull request #80 from thisandagain/bugfix/nginx
Remove nginx build process and clean-up for production
2015-10-20 13:27:42 -04:00
Andrew Sliwinski
98edeeee73 Merge pull request #79 from thisandagain/feature/og
Add GA tracking and optimize open graph tags
2015-10-20 13:26:14 -04:00
Andrew Sliwinski
28e87dadf5 Merge pull request #81 from LLK/newrelic-integration
Adding newrelic integration
2015-10-20 13:17:38 -04:00
Andrew Sliwinski
0868a70f00 Remove unused responsive styles from modal.scss 2015-10-20 13:13:08 -04:00
Colby Gutierrez-Kraybill
d39b691c46 Adding newrelic integration 2015-10-20 12:54:48 -04:00
Andrew Sliwinski
9d9a2ca491 Remove nginx build process and clean-up for production 2015-10-20 12:48:32 -04:00
Andrew Sliwinski
a7255c49b2 Add GA tracking and optimize open graph tags 2015-10-20 10:51:33 -04:00
Ray Schamp
e5120f37d3 Merge pull request #78 from mewtaylor/issue/24-migrate-message-count
Get message count at minute intervals
2015-10-20 10:29:25 -04:00
Matthew Taylor
6c34e0bc6a get message count at minute intervals 2015-10-20 10:25:28 -04:00
Ray Schamp
03b3ae8375 Merge pull request #77 from thisandagain/bugfix/locale
Create locale directory if it does not exist
2015-10-19 20:40:17 -04:00
Ray Schamp
bde208e16b Merge pull request #76 from mewtaylor/refactor/set-language-via-api
Use api to set language instead of cookie
2015-10-19 20:39:45 -04:00
Andrew Sliwinski
8647d01e1f Merge pull request #75 from mewtaylor/bugfix/define-format-message
Define `formatMessage` when used.
2015-10-19 20:37:24 -04:00
Andrew Sliwinski
0f89152399 Create locale directory if it does not exist 2015-10-19 20:35:36 -04:00
Andrew Sliwinski
dae7288395 Merge pull request #73 from rschamp/feature/login-captcha-redirect
Redirect to CAPTCHA when too many login attempts fail
2015-10-19 20:34:10 -04:00
Matthew Taylor
010109a767 Use api to set language instead of cookie
just to be safe. But i'm leaving in the `set` method of `jar.js` so we can easily move to it in the future.
2015-10-19 19:49:24 -04:00
Matthew Taylor
e9d24b083a define formateMessage
I was forgetting to define it, like is done in `activity.jsx`. I was also incorrectly interpreting the documentation
2015-10-19 19:36:56 -04:00