Commit graph

933 commits

Author SHA1 Message Date
Andreas Nedbal
0afff3f84d Adjustments and smaller fixes
- Fixed initially selected Discover tabs being empty
- Removed spacing classes from inbox templates
- Fixed feed layout and sidebar display
- Adjust some profile layout nits
2020-04-26 16:25:54 +02:00
Andreas Nedbal
1f678b80c1 Fixed issue rendering privilege item partials 2020-04-26 15:27:19 +02:00
Andreas Nedbal
b550e78272 Refactor notifications into partials
All notification type layouts have been:

1) present in both the navigation layout and the notification page
2) in a single file

This commit addresses both issues and creates partials for all notfication types.
2020-04-26 15:26:55 +02:00
Andreas Nedbal
1885343900 Clean up main navigation
- Move main navigation into views/navigation
- Split guest navigation into seperate file
- Move main navigation partials into subfolder
- Further adjustments for Bootstrap 4 compatibility
2020-04-26 14:29:23 +02:00
Karina Kwiatek
926631eca3 Remove more left-over references to role fields 2020-04-25 22:23:37 +01:00
Karina Kwiatek
9d933c933e Remove unused (removed) roles from Your Data / Export 2020-04-25 21:14:26 +01:00
Karina Kwiatek
71e62dddcf Remove unused roles from privileges modal 2020-04-25 21:06:36 +01:00
Karina Kwiatek
10a9ca5577 Fix bad replace; update schema.rb 2020-04-25 21:01:46 +01:00
Andreas Nedbal
18d4fad00e Move notification navigation to new location 2020-04-25 20:27:56 +02:00
Andreas Nedbal
aeedee8b2f Move moderation navigation to new location 2020-04-25 20:20:00 +02:00
Andreas Nedbal
2fb1966c5b Move feed navigation to new location 2020-04-25 20:11:33 +02:00
Andreas Nedbal
e56e65cf40 Further adjustments to inbox layout
- Fixed base styling of cards due to layout differences between panels of Bootstrap 3
- Removed duplicate rendering of sidebar
2020-04-25 19:45:53 +02:00
Andreas Nedbal
e15cedd56c Adjust tab classes to Bootstrap 4 2020-04-25 19:02:39 +02:00
Andreas Nedbal
a9812f5800 Clean up feed layouts 2020-04-25 18:23:02 +02:00
Andreas Nedbal
2a074227ac Clean up inbox layouts 2020-04-25 18:10:48 +02:00
Andreas Nedbal
baf5ba698d Clean up moderation layout 2020-04-25 18:05:35 +02:00
Andreas Nedbal
ae4c68a10b Use layout inheritance by convention 2020-04-25 17:54:52 +02:00
Andreas Nedbal
19e7ed557e Remove .html.haml prefix from modal files 2020-04-25 17:52:24 +02:00
Andreas Nedbal
245c6493d3 Clean up notifications layout 2020-04-25 17:51:00 +02:00
Andreas Nedbal
6e22e84081 Clean up user profile layouts 2020-04-25 17:21:39 +02:00
Andreas Nedbal
c870b00f65 Clean up user setting layouts 2020-04-25 17:04:23 +02:00
Andreas Nedbal
ea77168b50 Port application layout to use parent_layout 2020-04-25 17:03:59 +02:00
Andreas Nedbal
9ee5811243 Remove piwik 2020-04-25 16:22:09 +02:00
Andreas Nedbal
96309eb8ba Move all modals into shared views/modal directory 2020-04-25 15:16:45 +02:00
Andreas Nedbal
3885c24825 Properly align navbar when not signed in 2020-04-25 14:29:52 +02:00
Andreas Nedbal
7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Dominik M. Kwiatek
a8c335899d
Use email field for password reset (#77)
Fixes unsubmmittable password reset form
2020-04-22 19:22:16 +01:00
Karina Kwiatek
47fde17560 Remove deprecated gravatar_url method 2020-04-20 23:18:14 +01:00
Georg Gadinger
101b3b68d3 Use cursored pagination, remove WillPaginate 2020-04-20 23:13:24 +02:00
Andreas Nedbal
2dbc6eff01 Adjust navbar styling 2020-04-20 00:04:01 +02:00
Andreas Nedbal
3994917ce9 Adjust notification navigation to Bootstrap 4 2020-04-19 23:42:37 +02:00
Andreas Nedbal
0c3dee30ae Add row to notification list 2020-04-19 23:34:09 +02:00
Andreas Nedbal
b5a833e917 Remove superfluous card-default class 2020-04-19 23:31:24 +02:00
Karina Kwiatek
4889071f95 Add JS for dismissing announcements 2020-04-19 22:27:50 +01:00
Andreas Nedbal
21fceccf2f Adjust modal layouts to Bootstrap 4 2020-04-19 23:26:29 +02:00
Andreas Nedbal
efd2ff4db0 Convert visibility classes to Bootstrap 4 2020-04-19 23:14:05 +02:00
Andreas Nedbal
fa14859a6a Adjust dropdowns to Bootstrap 4 layout 2020-04-19 23:13:39 +02:00
Andreas Nedbal
213eb1d11f Add row classes to fix grid layouts 2020-04-19 23:12:23 +02:00
Andreas Nedbal
33cd5b57a3 Convert panel classes to card classes 2020-04-19 23:11:14 +02:00
Andreas Nedbal
2b39888679 Adjust base navigations Bootstrap 4 2020-04-19 23:03:34 +02:00
Karina Kwiatek
80c6a4272a Fix indentation in new.html.haml 2020-04-19 21:58:08 +01:00
Karina Kwiatek
391f4a28ed Merge branch 'master' into feature/announcements
# Conflicts:
#	db/schema.rb
2020-04-19 21:52:58 +01:00
Karina Kwiatek
b6d6c1fded Add announcements to the top of the application template 2020-04-19 21:38:21 +01:00
Georg Gadinger
946bb3ae9d Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
Karina Kwiatek
473f2cdcc5 Show announcement validation errors on the frontend 2020-04-19 21:26:55 +01:00
Karina Kwiatek
6187cb0b6c Add the ability to edit announcements 2020-04-19 20:58:57 +01:00
Karina Kwiatek
f14a168bce Implement deletion of announcements 2020-04-19 20:50:33 +01:00
Karina Kwiatek
e3b89f7346 Implement creation of announcements 2020-04-19 20:34:48 +01:00
Karina Kwiatek
8a632a09cd Create Announcement model & controller 2020-04-19 20:12:22 +01:00
Georg Gadinger
6999695ff8 Cleanup 2020-04-19 19:49:47 +02:00
Georg Gadinger
6f6ac3cc7d Merge remote-tracking branch 'origin/master' into rails5 2020-04-19 14:32:47 +02:00
Georg Gadinger
9fa8ef1501 enable 'Discover' page for mods 2020-04-19 13:55:13 +02:00
Georg Gadinger
323f9d91ac Fix NoMethodError on the data page 2020-04-19 01:19:25 +02:00
Georg Gadinger
3e7497a144 Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
Georg Gadinger
66400c87dd Merge remote-tracking branch 'github/master' 2018-05-20 14:18:02 +02:00
liv
c0ace7cec4
remove dead bug tracker link 2018-05-15 17:37:13 +02:00
Tina
106b9fd71f twitter.com/retrospringnet -> retrospring 2018-04-29 21:22:16 +02:00
Tina
eec1065c83
twitter.com/retrospringnet -> retrospring 2018-04-12 05:40:46 +02:00
Georg Gadinger
4424cb64cd Fix JS translations 2017-04-02 09:04:49 +02:00
Georg Gadinger
f8e494094f Evil hack on production for frontend translations 2017-04-01 01:13:16 +02:00
Georg Gadinger
28cc6b5938 Certain features can now be enabled/disabled from config 2017-03-31 22:21:38 +02:00
Georg Gadinger
10d16466fd fuck 2017-03-31 15:13:52 +02:00
Georg Gadinger
9766ede53c Hotfix to not break discover page 2017-03-31 15:11:38 +02:00
Georg Gadinger
3424cc47c9 Hotfix lmao 2017-03-31 15:04:58 +02:00
Georg Gadinger
b8701e7626 Make user_screen_name helper use kwargs, add link_only arg 2017-03-30 19:17:25 +02:00
pixeldesu
f7d06135ef don't include unnecessary theme files on user profiles 2017-03-29 15:49:27 -07:00
pixeldesu
8d4d2ffce1 apply changes to groups page, adjust heading for header 2017-03-29 15:29:07 -07:00
pixeldesu
598fce6f83 add header classes to profile pages 2017-03-29 15:20:37 -07:00
pixeldesu
f345f8628f add header to other profile sections 2017-03-29 15:18:11 -07:00
pixeldesu
b153a04b54 remove visible traces of team members 2017-03-29 14:52:26 -07:00
Georg G
573fd89887 added export tab 2016-01-05 21:29:53 +01:00
Georg G
b034986e43 update text 2016-01-05 21:11:14 +01:00
Georg G
0deb4c4ccc added export view/controller/routes 2016-01-05 20:54:38 +01:00
funerally
b10ca0d736 Fixed twitter link
Fixed broken twitter link on about page.
2015-10-03 00:00:44 -04:00
pixeldesu
b0ca8a6219 Fix wording 2015-09-20 15:32:41 +02:00
pixeldesu
08644306fc Update frontpage styling and content 2015-09-20 15:16:24 +02:00
pixeldesu
927d6632c1 make the notification center smaller and shorten content 2015-09-16 23:59:47 +02:00
pixeldesu
24f7ff98ec Fix comment notifications and markdownify content 2015-09-16 22:46:33 +02:00
pixeldesu
ede3ad1b92 Update notification design and behaviour
- Add display of content that was replied to/with
- Instead of marking notifications new, only show new items and hide seen entries
- Add a 'New Notifications' page and set it as default
- Add proper display if there are no new notifications
- Adjust theme to fit new changes
2015-09-16 22:18:40 +02:00
pixeldesu
419b578956 fix missing coloring of question panel 2015-09-01 07:45:40 +02:00
pixeldesu
a9ad31b285 move check if user is logged in out of template 2015-08-28 16:36:49 +02:00
pixeldesu
8c5badf0b8 fix Retrospring/bugs#95 2015-08-28 16:29:02 +02:00
Yuki
bbb1e001e2 swippty swooty comin for that .panel-success > .panel-heading .media * { color: #deadbeef !important } 2015-08-27 05:57:16 +05:30
Yuki
9b7a014121 Panel my panel no default (season 2) 2015-08-27 05:39:10 +05:30
Yuki
71caf3cce5 Several changes to theming, solving a bunch of bugs 2015-08-27 05:30:26 +05:30
pixeldesu
683ce43294 implement pgHero 2015-08-26 21:37:29 +02:00
pixeldesu
107bbb3aeb add entry-subtext styling 2015-08-26 04:14:03 +02:00
pixeldesu
d3a7bca68f another occurence of nav tabs instead of list-groups 2015-08-26 01:45:03 +02:00
pixeldesu
764a36e4be %ul.nav -> .list-group 2015-08-25 23:46:49 +02:00
Yuki
010d0a327e i'm about to give up 2015-08-26 02:26:47 +05:30
Yuki
7c68b2a167 PRODUCTION V DEVELOPMENT, ROUND 3 FIGHT 2015-08-26 00:45:08 +05:30
Yuki
6642408b61 Fix show foreign themes bug 2015-08-26 00:35:36 +05:30
pixeldesu
675ba646ea Merge remote-tracking branch 'origin/feature-themes' 2015-08-25 20:55:42 +02:00
Yuki
4b646b7e80 Drop ERB loop 2015-08-26 00:07:55 +05:30
Yuki
54167416f5 Fix ask all button color 2015-08-26 00:02:20 +05:30
Yuki
906692e78f Theming is finished
Previews, settings pane and presets!
2015-08-25 23:57:06 +05:30
Yuki
1912fc3766 Model goop
also made the theme selection logic for user profiles and current user, and the saving logic
2015-08-25 13:56:36 +05:30
Yuki
e42f81193b Finalize theme file 2015-08-25 10:48:01 +05:30
Yuki
0bfbbbc856 Theme Progress
New notifications
notifications page
tabs
pills/lists
badges
panel badges
2015-08-25 10:19:25 +05:30
Yuki
e7e28efcab Theme Progress
Link color
Notification dropdown text fix
Dropdown select color
Panels
Modals
Buttons, Labels and Alerts
nprogress
fix and rename __THEME_CSS_CACHE to __THEME_CSS_CACHE_V1
2015-08-25 01:26:59 +05:30
Yuki
47344a5774 ThemeHelper.render_theme_with_context 2015-07-29 22:24:33 +05:30
Yuki
aec452cbd1 CSS -> SCSS 2015-07-29 22:01:34 +05:30
pixeldesu
9f8c43f8a4 fix #39, copypasta issue 2015-07-29 17:11:20 +02:00
Yuki
3444fcc93e rework some theme code, particlefield now adapts color 2015-07-29 20:38:07 +05:30
Yuki
9ef71a84e9 Merge branch 'master' of github.com:Retrospring/retrospring into feature-themes 2015-07-29 19:52:14 +05:30
Yuki
9734e5463e Merge pull request #33 from colons/master
Do not declare mobile app capability
2015-07-28 04:33:56 +05:30
Yuki
21f2467f45 Fix question pagination 2015-07-25 23:18:27 +05:30
Yuki
12b2ec8a3b Turbolinks stop removing the god damn spreadsheet you twat 2015-07-24 22:44:16 +05:30
Yuki
54b051a7e7 Temp. layout for testing 2015-07-24 22:42:14 +05:30
pixeldesu
6ea04faf4f update show_follow JS to address changes 2015-07-24 17:14:42 +02:00
pixeldesu
6f65f8c9f4 Merge branch 'feature-userbox-header' 2015-07-24 17:10:28 +02:00
pixeldesu
5ce5d69e4a remove the TODO from the userbox 2015-07-24 17:09:17 +02:00
pixeldesu
1a9660bc05 update userbox style with headers 2015-07-24 17:04:46 +02:00
Iain Dawson
92ffb71c3b Do not declare mobile app capability. 2015-07-24 08:15:44 +01:00
Yuki
5c2168b9af The copy paste is strong 2015-07-23 23:23:51 +05:30
Yuki
deb6d12108 Moderation Priority + IP 2015-07-23 23:21:13 +05:30
Yuki
5c86833601 Fix emails 2015-07-23 12:12:36 +05:30
Yuki
38d1c21118 Someone wanted even paddings, here you go. also made the support more wide. 2015-07-23 11:50:21 +05:30
Yuki
54e27896f4 Add missing ='s to text templates 2015-07-21 23:57:59 +05:30
Yuki
eb85f38220 Fix text, add more templates 2015-07-21 23:50:54 +05:30
Yuki
362292716f Mail templating, hopefully 2015-07-21 23:43:14 +05:30
pixeldesu
19d6ccd855 change logic for deletion when no user or no question is found 2015-07-17 22:31:10 +02:00
pixeldesu
e1d38ebb89 removing more logic from templates + simpler coffeescript 2015-07-17 21:45:45 +02:00
pixeldesu
84f80c824e fix broken pagination and wrong question count for deletion 2015-07-17 20:54:11 +02:00
pixeldesu
e9ae442431 add ability to show/search questions from specific users 2015-07-17 20:29:19 +02:00
pixeldesu
ca41890ada replaced big avatar image on main timeline page 2015-06-28 01:36:58 +02:00
Yuki
409c82b5ed Flag switcher 2015-06-21 12:33:29 +05:30
pixeldesu
aab109dd42 add sign in count to data page 2015-06-21 04:35:27 +02:00
pixeldesu
c600b0562a copycat mistakes 2015-06-20 21:15:38 +02:00
pixeldesu
f76e997708 empty != blank 2015-06-20 21:09:30 +02:00
pixeldesu
58e80919df add data page 2015-06-20 20:38:07 +02:00
pixeldesu
c1faf41305 added translator badge to profiles 2015-06-19 14:46:23 +02:00
pixeldesu
1daa44f5bf fixes Retrospring/bugs#82 2015-06-17 12:07:51 +02:00
Georg G
53fe52b3b6 fixed wrong style on timestamps in answerbox 2015-06-09 18:24:27 +02:00
Yuki
e5ecea8414 Fix third-person notifications showing the wrong user 2015-06-09 21:19:29 +05:30
Yuki
649b1cda3b Fix Retrospring/bugs#77 2015-06-09 17:57:49 +05:30
Yuki
428bd99a63 Fix another issue 2015-06-09 09:36:09 +05:30
pixeldesu
341372d874 finalize 2015-06-08 21:51:46 +02:00
pixeldesu
a8fd3624b6 localize even more final stuff 2015-06-08 21:11:35 +02:00
pixeldesu
d28f64adf1 localize placeholders 2015-06-08 20:48:23 +02:00
pixeldesu
7c5f9b082a add missing profile setting locales 2015-06-08 16:05:20 +02:00
pixeldesu
488d582afa add i18n-js and localize javascript (not implemented yet) 2015-06-08 16:01:16 +02:00
pixeldesu
3a4ff794de add some missing locales 2015-06-07 23:52:03 +02:00
pixeldesu
984abbe738 git localize flashes 2015-06-07 19:03:57 +02:00
pixeldesu
cd2685a179 localized moderation, sidebar, userbox, etc. 2015-06-07 16:24:41 +02:00
pixeldesu
f011fddc9d instead of capitalizing the string in the template, just capitalize the locale 2015-06-07 15:34:22 +02:00
pixeldesu
97f0594d13 another attempt to fix test 2015-06-07 15:27:34 +02:00
pixeldesu
4c7ae9ea70 whoops, copypasta mistake here 2015-06-07 15:25:39 +02:00
pixeldesu
e006dfde53 localize user profile, settings, modals 2015-06-07 15:10:17 +02:00
Yuki
ce2323d675 fix tests 2015-06-07 06:27:21 +05:30
Yuki
f564ef724e line 51 of _notification.html.haml line 57 of _notifications.html.haml 2015-06-07 06:13:18 +05:30
pixeldesu
b8c0032986 localize notifications (except comments) 2015-06-07 01:28:10 +02:00
pixeldesu
45ec9ebdff Merge remote-tracking branch 'origin/locale' into locale 2015-06-07 00:24:50 +02:00
pixeldesu
75d4d5a07f localize inbox 2015-06-07 00:24:27 +02:00
Yuki
a560efe1c0 badumm tiss 2015-05-27 08:10:11 +05:30
pixeldesu
7a0be2519a localize question_header and questionbox 2015-05-27 04:31:28 +02:00
pixeldesu
16ec60aa19 localize question 2015-05-27 04:13:13 +02:00
pixeldesu
75a7b393b9 Merge remote-tracking branch 'origin/locale' into locale 2015-05-27 03:54:04 +02:00
pixeldesu
7905fe8372 localize actions 2015-05-27 03:53:53 +02:00
Yuki
52890707c5 less logic in views 2015-05-27 06:51:06 +05:30
Yuki
74bbbdf4ca FILTHY 2015-05-27 06:41:21 +05:30
pixeldesu
9c83972105 localized answerbox (trigger warning: horrible code) 2015-05-27 02:58:03 +02:00
pixeldesu
ab0b428e03 implemented translations into front, about and discover 2015-05-26 21:15:18 +02:00
pixeldesu
b687b27563 use service-docs instead of text in templates 2015-05-26 01:35:04 +02:00
Yuki
67f11828dd Fix CAT-2015-0001 2015-05-24 19:38:07 +05:30
pixeldesu
49dea9095a move Group modal toggle to navbar on desktop 2015-05-24 03:58:15 +02:00
pixeldesu
8753af3b48 completely redesign About page 2015-05-19 17:48:02 +02:00
pixeldesu
4400779d00 add Most Comments and Most Answered to Discover 2015-05-18 00:57:47 +02:00
pixeldesu
6b08e6fed5 tooltips for comment timestamps [ci skip] 2015-05-17 05:52:49 +02:00
pixeldesu
bbb3b806a5 Merge remote-tracking branch 'origin/master' 2015-05-17 05:36:50 +02:00
pixeldesu
ab6983001e timestamps for comments and CSS fixes 2015-05-17 05:36:23 +02:00
Yuki
9e3a6e2171 Mobile-friendly profile info box 2015-05-16 04:09:33 +05:30
Georg G
f359f32380 removed period 2015-05-14 13:15:31 +02:00
Georg G
3e72243639 change wording on discover page 2015-05-14 13:14:42 +02:00
pixeldesu
c7cecba025 fix type being not set for question pages 2015-05-14 02:39:30 +02:00
pixeldesu
d3e78b8cb7 update Discover page title 2015-05-14 00:48:26 +02:00
pixeldesu
773b2917cb Merge branch 'feature-discover' 2015-05-14 00:47:23 +02:00
pixeldesu
023fe26e81 finish up Discover page 2015-05-14 00:45:01 +02:00
Yuki
bf68586a80 The copy and paste is strong 2015-05-14 03:37:09 +05:30
Yuki
2e1cb4d273 Made titles functional, because functional programming is the future 2015-05-14 03:32:19 +05:30
pixeldesu
86b5e9933e add basic functionality 2015-05-13 23:55:10 +02:00
pixeldesu
5c13dda585 add tab navigation 2015-05-13 22:29:37 +02:00
pixeldesu
23583fab99 add header and page title to discover page 2015-05-13 21:20:20 +02:00
pixeldesu
961ebfd266 add routes and empty index for discover 2015-05-13 20:56:51 +02:00
pixeldesu
c27c99b18f add particles to about and faq, update frontpage 2015-05-13 16:14:30 +02:00
pixeldesu
e01ac8dcf6 added Particleground to frontpage 2015-05-12 23:53:42 +02:00
Yuki
0ba88942de Fix question headers overflowing into the answers 2015-05-13 00:18:06 +05:30
pixeldesu
884dab5988 update panel styles, fixes Retrospring/bugs#51 2015-05-11 06:17:12 +02:00
pixeldesu
d08692340c add pagetitles 2015-05-10 19:48:47 +02:00
pixeldesu
3d5bb16a8f update Terms of Service, adding Code of Conduct 2015-05-10 13:39:18 +02:00
Yuki
b71466535d Fix zooming when cropping header 2015-05-08 21:44:54 +05:30
Yuki
94433f4484 trim the fat 2015-05-08 21:37:09 +05:30
Yuki
9633511859 Some fixes (whoops used current_user instead of user) 2015-05-08 21:34:58 +05:30
Yuki
975909f197 remove unused file 2015-05-08 21:24:03 +05:30
Yuki
2e6ffdaab7 basic implementation 2015-05-08 21:14:16 +05:30
Yuki
b2a57da4b2 Merge with master 2015-05-08 18:58:50 +05:30
pixeldesu
61fdaf6742 = != - 2015-05-06 02:07:12 +02:00
Georg G.
9b39491d88 Merge pull request #18 from skiprope/temp-bans
Support for ban reasons and ban times.
2015-05-05 16:54:23 +02:00
Yuki
65c852585d notification tab for comment smiles 2015-05-05 02:40:54 +05:30
nilsding
97b27248c2 added CommentSmile to 'Smiles' in the stats section in about page 2015-05-04 16:43:48 +02:00