Andreas Nedbal
d004546c65
Port comment smile functionality to TypeScript
2022-01-09 16:05:37 +01:00
Andreas Nedbal
da26bbc6c0
Port comment toggle functionality to TypeScript
2022-01-09 16:05:37 +01:00
Andreas Nedbal
0feb05828a
Port answerbox destroy functionality to TypeScript
2022-01-09 16:05:37 +01:00
Andreas Nedbal
346037ddda
Port answerbox report feature to TypeScript
2022-01-09 16:05:37 +01:00
Andreas Nedbal
74463b271c
Port answerbox smile feature to TypeScript
2022-01-09 16:05:37 +01:00
Andreas Nedbal
988775e1fd
Port answerbox subscribe functionality to TypeScript
2022-01-09 16:05:37 +01:00
Andreas Nedbal
1d21fb650b
Setup TypeScript answerbox feature
2022-01-09 16:05:37 +01:00
Andreas Nedbal
08682308b1
Apply review suggestion from @raccube
...
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-01-08 20:28:52 +01:00
Andreas Nedbal
84ffbd1c8b
Remove unused moment reference
2022-01-08 20:28:52 +01:00
Andreas Nedbal
e565df2915
Fix TSLint nits
2022-01-08 20:28:52 +01:00
Andreas Nedbal
75853612f6
Completely remove legacy moderation script entrypoint
2022-01-08 20:28:52 +01:00
Andreas Nedbal
630e2847c2
Remove legacy moderation CoffeeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
ede117fe18
Port report comment character count to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
f93de5c56a
Port report comment destroy functionality to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
126a733c76
Port report comment creation functionality to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
01bedd1143
Port report comment toggle feature to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
9e2a9a2be9
Port moderator privilege feature to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
54b9791dc3
Port report vote functionality to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
31e2ad6e0b
Port report destroy functionality to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
00cd54e082
Port ban functionality to TypeScript
2022-01-08 20:28:52 +01:00
Andreas Nedbal
50070d9afc
Setup TypeScript moderation feature
2022-01-08 20:28:52 +01:00
Andreas Nedbal
5b324caf7c
Add stylesheet pack tag import to load library styles
2022-01-07 22:17:29 +01:00
Karina Kwiatek
136e2fa016
Merge pull request #272 from Retrospring/feature/social-post-tagging
...
Add the ability to post to services with a tag
2022-01-07 19:40:52 +01:00
Karina Kwiatek
fed37ec81c
Merge pull request #277 from Retrospring/refactor/typescript-settings
...
Port Settings functionality to TypeScript
2022-01-07 15:14:29 +01:00
Andreas Nedbal
0a8ff20f36
Fix theme page breaking after a reload
2022-01-07 14:12:45 +01:00
Karina Kwiatek
96e48a833b
Merge pull request #194 from Retrospring/refactor/user-bans
...
Implement ban history
2022-01-06 14:05:33 +01:00
Karina Kwiatek
75d24db1b9
Merge pull request #269 from Retrospring/feature/mod-pagination
...
Pagination in moderation panel
2022-01-06 14:05:12 +01:00
Karina Kwiatek
b398265a98
Address review comments from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-06 13:59:04 +01:00
Andreas Nedbal
f035cc2f89
Remove reference code comment
2022-01-06 13:02:18 +01:00
Andreas Nedbal
6dcb5a2afb
Remove `jquery.guillotine` import in legacy CoffeeScript
2022-01-06 03:21:09 +01:00
Andreas Nedbal
fb9d8bf947
Fix TSLint nits
2022-01-06 03:21:09 +01:00
Andreas Nedbal
ed9f0f0123
Remove legacy settings functionality
2022-01-06 03:21:09 +01:00
Andreas Nedbal
e4485cb5cd
Refactor mute rule functionality into seperate file
2022-01-06 03:21:09 +01:00
Andreas Nedbal
b18c68449e
Port password confirmation functionality to TypeScript
2022-01-06 03:21:09 +01:00
Andreas Nedbal
9b6abb9148
Port profile picture/header cropping functionality to TypeScript
2022-01-06 03:21:09 +01:00
Andreas Nedbal
12430aebf1
Port theme functionality to TypeScript
2022-01-06 03:21:09 +01:00
Karina Kwiatek
ac92a8b6bd
Use `String#tr` instead of `String#gsub`
2022-01-05 20:09:34 +01:00
Karina Kwiatek
023b642bc1
Disallow @ symbols from post tags
...
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2022-01-05 19:50:01 +01:00
Karina Kwiatek
683fffd734
Add the ability to post to services with a tag
2022-01-05 19:49:59 +01:00
Georg Gadinger
3c58257d21
remove tumblr
...
Resolves #274
2022-01-05 19:32:52 +01:00
Andreas Nedbal
bbe5325ba5
Use proper import for question functionality
2022-01-05 01:07:53 +01:00
Andreas Nedbal
99c74e8418
Use proper selector to select share checkboxes
2022-01-05 01:07:53 +01:00
Andreas Nedbal
44b5e3e6a4
Insert answer into list after submitting
2022-01-05 01:07:53 +01:00
Andreas Nedbal
721b7f3657
Remove legacy question TypeScript
2022-01-05 01:07:53 +01:00
Andreas Nedbal
a6bc27e884
Port question functionality to TypeScript
2022-01-05 01:07:53 +01:00
Andreas Nedbal
72ae2503ae
Add null check to mute rule submits to prevent error flood
2022-01-04 01:40:44 +01:00
Andreas Nedbal
7fcb8312b9
Put `/settings/muted` behind authentication
2022-01-04 01:35:14 +01:00
Andreas Nedbal
ceeca7483e
Fix haml-lint nits
2022-01-04 00:05:11 +01:00
Andreas Nedbal
8ac7444518
Fix TSLint nits
2022-01-04 00:05:11 +01:00
Andreas Nedbal
21cba89add
Remove legacy questionbox CoffeeScript
2022-01-04 00:05:11 +01:00
Andreas Nedbal
3df0196e1f
Add `questionbox` class to questions
...
...so they get removed from the DOM after deletion
2022-01-04 00:05:11 +01:00
Andreas Nedbal
a524a244a9
Use utility class instead of inline style on promotion container
2022-01-04 00:05:11 +01:00
Andreas Nedbal
172fc0b84b
Port questionbox all (followers) functionality to TypeScript
2022-01-04 00:05:11 +01:00
Andreas Nedbal
5888b0ff04
Port questionbox destroy functionality to TypeScript
2022-01-04 00:05:11 +01:00
Andreas Nedbal
e33d2478c2
Port questionbox report functionality to TypeScript
2022-01-04 00:05:11 +01:00
Andreas Nedbal
88d8cae815
Port questionbox user functionality to TypeScript
2022-01-04 00:05:11 +01:00
Karina Kwiatek
c19b2df93c
Implement pagination in Moderation Panel view
2022-01-03 23:23:12 +01:00
Karina Kwiatek
2cab96b9af
Implement cursored pagination in Moderation Panel
2022-01-03 22:43:37 +01:00
Andreas Nedbal
41a7c89dae
Make icons on buttons clickthrough to properly catch events
2022-01-03 16:33:06 +01:00
Andreas Nedbal
f7e4fc76cb
Use proper events for global event handlers
2022-01-03 16:33:06 +01:00
Andreas Nedbal
36acd25395
Disable inbox entry delete button to prevent duplicate deletion errors
2022-01-03 16:33:06 +01:00
Andreas Nedbal
229c10e358
Disable inbox answer button after pressing it to prevent duplicate sending
2022-01-03 16:33:06 +01:00
Andreas Nedbal
367fe0e7a6
Use `registerEvents` to register multiple global events
2022-01-03 16:33:06 +01:00
Andreas Nedbal
707cba8ede
Pass proper sweetalert options for delete actions
2022-01-03 16:33:06 +01:00
Andreas Nedbal
3ef2c15267
Use `I18n.translate` everywhere instead of `I18n.t`
2022-01-03 16:33:06 +01:00
Andreas Nedbal
2e5f500d24
Use notification helpers instead of window reference everywhere
2022-01-03 16:33:06 +01:00
Andreas Nedbal
0770dbfc21
Remove legacy inbox CoffeeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
4be25b2a1a
Replace inline style on inbox entry options with utility class
2022-01-03 16:33:06 +01:00
Andreas Nedbal
aef180277c
Extend `registerEvents` utility to accept global events
2022-01-03 16:33:06 +01:00
Andreas Nedbal
b2d430eb1e
Export `on` method callback function type
2022-01-03 16:33:06 +01:00
Andreas Nedbal
683657a281
Add TypeScript wrapper around legacy notification functionality
2022-01-03 16:33:06 +01:00
Andreas Nedbal
5337897b23
Port inbox deletion functionality to TypeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
721ff425b2
Port inbox question generation functionality to TypeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
8797652746
Port inbox author search functionality to TypeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
2b06d6a6cc
Port inbox entry option functionality to TypeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
2fe4438068
Port inbox entry delete functionality to TypeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
128d2142da
Port inbox entry answer functionality to TypeScript
2022-01-03 16:33:06 +01:00
Andreas Nedbal
4a1c8ebcf7
Move report event handler to entry subfolder
2022-01-03 16:33:06 +01:00
Karina Kwiatek
b249e40273
Fix ban checkbox being passed into ban payload
2022-01-02 19:50:45 +01:00
Karina Kwiatek
b196cbdd1c
Adjust ban script to work when unbanning
2022-01-02 19:50:45 +01:00
Karina Kwiatek
7677ed21a4
Update tests for unbanning users
2022-01-02 19:50:44 +01:00
Karina Kwiatek
a9392dad53
Use use case for `User#unban`
2022-01-02 19:50:44 +01:00
Karina Kwiatek
6500d7ac71
Update usages of bans
2022-01-02 19:50:44 +01:00
Karina Kwiatek
ea62d91014
Make ban UI more intuitive when a user is already banned
2022-01-02 19:50:02 +01:00
Karina Kwiatek
9a35584284
Refactor ban-related functionality into use cases
2022-01-02 19:50:01 +01:00
Karina Kwiatek
be0cf69368
Refactor existing ban-related methods
2022-01-02 19:50:01 +01:00
Karina Kwiatek
e4241d2001
Create user ban model
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-02 19:50:01 +01:00
Andreas Nedbal
fab007b2a2
Apply review suggestion from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-02 19:31:58 +01:00
Andreas Nedbal
48c31ebdc6
Apply review suggestion from @raccube
...
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-01-02 19:31:58 +01:00
Andreas Nedbal
13c397fe73
Prevent exceptions with invalid URIs
2022-01-02 19:31:58 +01:00
Karina Kwiatek
b7ce9cdbba
Merge pull request #222 from Retrospring/feature/muting
2022-01-02 15:31:49 +01:00
Karina Kwiatek
abe33a831f
Fix lint errors
2022-01-02 01:55:52 +01:00
Karina Kwiatek
05ed214367
Implement frontend for deleting mute rules
2022-01-02 01:55:52 +01:00
Karina Kwiatek
23a5fb55d1
Implement frontend for adding mute rules
2022-01-02 01:55:52 +01:00
Karina Kwiatek
6b626765a8
Create views for managing muted words
2022-01-02 01:55:52 +01:00
Andreas Nedbal
bc316757c3
Fix haml-lint nit
2022-01-02 01:27:03 +01:00
Andreas Nedbal
dabc917ab5
Align dropdown-menu to the right
2022-01-02 01:27:03 +01:00
Andreas Nedbal
92544370b6
Make entirity of "Lists" dropdown clickable
2022-01-02 01:27:03 +01:00
Andreas Nedbal
2ce94893ea
Use `env(safe-area-inset-bottom)` to prevent issues on Apple devices
2022-01-01 22:46:52 +01:00
Andreas Nedbal
f75d63bf07
Show progressbar at the top of mobile navbar
2022-01-01 22:46:52 +01:00
Andreas Nedbal
46855eb43f
use `md` breakpoint instead of `sm` for the progress bar
2022-01-01 22:46:52 +01:00
Andreas Nedbal
97786e8dec
Move turbolinks progressbar to the bottom on tablet and lower
2022-01-01 22:46:52 +01:00
Karina Kwiatek
9ce1fc0ce4
Address review comments from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-01 22:10:13 +01:00
Karina Kwiatek
fe6dff8ed6
Improve error messaging when trying to attach a service connected to another account
2022-01-01 21:58:22 +01:00
Andreas Nedbal
a4041e5da6
Remove another paragraph where questions are rendered
2022-01-01 02:04:49 +01:00
Andreas Nedbal
4fb1f3f38c
Fix wrong spacing in inbox entries
2022-01-01 01:50:46 +01:00
Karina Kwiatek
6c0e6b1d30
Create mute rules AJAX controller
2022-01-01 00:38:38 +01:00
Karina Kwiatek
c31ab3578d
Apply mute filters to questions asked directly
2022-01-01 00:38:38 +01:00
Karina Kwiatek
249438e5a8
Escape muted strings
2022-01-01 00:38:38 +01:00
Karina Kwiatek
18de468198
Add inverse relationship for mute rules <-> users
2022-01-01 00:38:38 +01:00
Karina Kwiatek
f85769eb55
Add mute rules
2022-01-01 00:38:36 +01:00
Andreas Nedbal
f803a972b9
Fix haml-lint nit
2021-12-31 22:40:38 +01:00
Andreas Nedbal
a0a403ca4f
Use `rel="nofollow"` in linkfilter view
2021-12-31 22:40:38 +01:00
Andreas Nedbal
c28ecafa80
Refactor `SharedMarkers::autolink` to use `content_tag`
2021-12-31 22:40:38 +01:00
Andreas Nedbal
1f2c9a08eb
Fix haml-lint nits
2021-12-31 22:40:38 +01:00
Andreas Nedbal
02a5e7029e
Add linkfilter logic to existing renderers
2021-12-31 22:40:38 +01:00
Andreas Nedbal
67ee589b5b
Add question markup renderer
2021-12-31 22:40:38 +01:00
Andreas Nedbal
09172a56ef
Add linkfilter action
2021-12-31 22:40:38 +01:00
Karina Kwiatek
2a2bd6ad14
Merge pull request #250 from Retrospring/eager-loading
...
Eager load relationships for questions, answers and users
2021-12-31 22:37:41 +01:00
Karina Kwiatek
c3ca93de7f
Merge pull request #252 from Retrospring/rel-nofollow
...
views: add rel=nofollow to some links
2021-12-31 21:47:18 +01:00
Karina Kwiatek
552f7373e6
Merge pull request #248 from Retrospring/feature/answer-theme
...
Extend theme helper to show themes on answer pages
2021-12-31 19:46:21 +01:00
Georg Gadinger
34aeb2350c
views: add rel=nofollow to some links
2021-12-31 19:30:18 +01:00
Karina Kwiatek
0da070c5ff
Move includes into `cursored_friends`/`cursored_followers`
2021-12-31 15:35:02 +01:00
Karina Kwiatek
7e57735b88
Add basic test for answer & user show views
2021-12-31 13:59:15 +01:00
Karina Kwiatek
32e6975c28
Include smiles when eager loading answers
2021-12-30 23:21:46 +01:00
Karina Kwiatek
7357e92865
Eager load relationships for questions, answers and users
2021-12-30 22:15:59 +01:00
Karina Kwiatek
5552f04bdf
Merge pull request #243 from Retrospring/refactor/lists-typescript
...
Port List functionality to TypeScript
2021-12-30 12:29:59 +01:00
Andreas Nedbal
06e31bb0be
Apply review suggestion from @raccube
2021-12-30 12:23:35 +01:00
Andreas Nedbal
a6dc7661ee
Extend theme helper to show themes on answer pages
2021-12-30 01:41:27 +01:00
Andreas Nedbal
a78cb2f2c9
Open profile website links in a new tab
2021-12-30 00:32:46 +01:00
Andreas Nedbal
dcc781df3d
Put all security related actions behind authentication
2021-12-29 22:35:17 +01:00
Andreas Nedbal
6df040eece
Fix missing translation when deleting lists
...
(this was broken in prod since this was introduced, amazing!)
2021-12-28 21:29:08 +01:00
Andreas Nedbal
493451c777
Remove legacy list CoffeeScript
2021-12-28 21:15:15 +01:00
Andreas Nedbal
d84891763a
Port creating lists from CoffeeScript to TypeScript
2021-12-28 21:15:15 +01:00
Andreas Nedbal
4a94638b59
Port deleting lists from CoffeeScript to TypeScript
2021-12-28 21:15:15 +01:00
Andreas Nedbal
d3d4644776
Port list membership actions from CoffeeScript to TypeScript
2021-12-28 21:15:15 +01:00
Andreas Nedbal
542cdd8b9a
Setup lists feature in TypeScript
2021-12-28 21:15:15 +01:00
Karina Kwiatek
1b4aa8600d
Set Sentry user context
2021-12-28 19:19:27 +01:00
Karina Kwiatek
065e56ccf1
Replace New Relic with Sentry
2021-12-28 18:32:03 +01:00
Karina Kwiatek
fe6a04c6e2
Merge pull request #238 from Retrospring/fix/failed-posts
...
Catch common `ShareWorker` exceptions to avoid unnecessary retries
2021-12-28 14:37:38 +01:00
Karina Kwiatek
9dafa675d1
Log on `ShareWorker` Twitter exceptions
2021-12-27 23:03:51 +01:00
Andreas Nedbal
e3c9d1b7b4
Update mail notice to mention people to look at their spam folder
2021-12-27 20:51:36 +01:00
Karina Kwiatek
9c599db3a7
Log message if `ShareWorker` tries to post something deleted
2021-12-27 18:17:47 +01:00
Karina Kwiatek
58a5065e52
Catch common `ShareWorker` exceptions to avoid unnecessary retries
2021-12-27 17:44:42 +01:00
Andreas Nedbal
4529fa0d18
Fix `Services::Tumblr` not being able to post
2021-12-27 14:28:11 +01:00
Andreas Nedbal
3f4bd13486
Add notice on registering about issues with Hotmail/Outlook
2021-12-27 01:44:10 +01:00
Andreas Nedbal
453724be8b
Prevent reloading of page on share link click
2021-12-26 23:46:42 +01:00
Andreas Nedbal
a1ba1a8082
Apply review suggestion from @raccube
...
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2021-12-26 23:41:23 +01:00
Andreas Nedbal
5fcf24646e
Open share widgets in new tab
2021-12-26 23:28:46 +01:00
Andreas Nedbal
21c4e0662f
Make the share event work on any answer
...
...not just the initially loaded set
2021-12-26 23:01:16 +01:00
Andreas Nedbal
08a0f2e1ca
Don't include `Rails.application.routes.url_helpers` in `SocialHelper::`
...
It badly trips up things
2021-12-26 22:40:27 +01:00
Andreas Nedbal
7be52bb7f2
Include Rails URL helpers in `Services::Twitter`
2021-12-26 22:17:53 +01:00
Andreas Nedbal
b630baa870
Hide any element with `ab-share` as a name
2021-12-26 22:07:17 +01:00
Andreas Nedbal
fa37f5c857
Add share links to answerboxes
2021-12-26 22:06:52 +01:00
Andreas Nedbal
ed64a0990e
Move tumblr post formatting into a separate helper class
2021-12-26 22:04:46 +01:00
Andreas Nedbal
b64b039d21
Move tweet formatting into a separate helper class
2021-12-26 22:04:16 +01:00
Karina Kwiatek
3e7c6d8d95
Fix ShareWorker retries failing
2021-12-25 23:22:52 +01:00
Karina Kwiatek
0f654a4d7d
Merge pull request #226 from Retrospring/refactor/user-typescript
...
Port User functionality to TypeScript
2021-12-25 22:44:26 +01:00
Karina Kwiatek
053ebafbc5
Merge pull request #213 from Retrospring/refactor/profile
...
Move profile fields to seperate table
2021-12-25 22:44:10 +01:00
Karina Kwiatek
7f26c1fef3
Ensure elipsis character always gets added for long questions/answers
2021-12-25 22:08:06 +01:00
Karina Kwiatek
f28f714457
Allow retries for ShareWorker
2021-12-25 13:40:21 +01:00
Karina Kwiatek
61c8208e26
Ensure tweets fit twitter's length limit
2021-12-25 13:39:35 +01:00
Andreas Nedbal
8b583e103a
Fix lint nits
2021-12-25 04:05:03 +01:00
Andreas Nedbal
d27665471e
Remove legacy user CoffeeScript
2021-12-25 03:34:24 +01:00
Andreas Nedbal
1bc52786ad
Port reporting users from CoffeeScript to TypeScript
2021-12-25 03:34:02 +01:00
Andreas Nedbal
2cc8a33d5b
Port (un)following from CoffeeScript to TypeScript
2021-12-25 03:33:33 +01:00
Andreas Nedbal
cf8d6b0884
Setup user features in TypeScript
2021-12-25 03:33:09 +01:00
Andreas Nedbal
3b5e963da5
Add `$.on` vanilla JS substitute
2021-12-25 03:31:30 +01:00
Andreas Nedbal
89127aa313
Add aliases for common module locations
2021-12-25 00:02:52 +01:00
Karina Kwiatek
842f51d745
Replace remaining usages of `user.display_name`
2021-12-23 22:01:56 +01:00
Karina Kwiatek
df606a768e
Update usage of `display_name` in shared sidebar
2021-12-23 21:49:42 +01:00
Karina Kwiatek
c995ead1e0
Add accept attribute to file inputs
2021-12-22 16:38:37 +01:00
Karina Kwiatek
8302f1b396
Update exporter for carrierwave & profile fields
2021-12-22 00:25:32 +01:00
Karina Kwiatek
8fa4feb469
Add endpoint for updating profile
2021-12-22 00:03:19 +01:00
Karina Kwiatek
00496a1596
Update remaining references to profile fields
2021-12-22 00:03:19 +01:00
Karina Kwiatek
ab720f3f55
Update references to profile fields
2021-12-22 00:03:18 +01:00
Karina Kwiatek
ff410773dd
Create Profile model
2021-12-22 00:03:18 +01:00
Andreas Nedbal
58588d22b1
use .where.not instead of in-query condition for user confirm date
2021-10-03 20:49:33 +02:00
Andreas Nedbal
6639f6646a
only count active users on about page
2021-10-03 20:40:25 +02:00
Karina Kwiatek
adf9301971
Merge pull request #201 from Retrospring/fix/tablet-ask-fab
...
Fix ask fab not being visible at tablet size
2021-09-24 00:42:38 +02:00
Karina Kwiatek
3a8d207b70
Fix ask fab not being visible at tablet size
2021-09-24 00:06:23 +02:00
Karina Kwiatek
ab83ee197e
Remove quotes in rails admin option
2021-08-30 00:21:34 +02:00
Karina Kwiatek
0c8f2ef1e7
Use `break-word` instead of `break-all`
...
This will prevent words being broken mid-word
2021-08-13 19:55:52 +02:00
Karina Kwiatek
89ce3e6e53
Merge pull request #184 from Retrospring/mobile-layout
...
Adjust site layout to be nicer to use on smaller screens
2021-08-13 12:11:38 +02:00
Karina Kwiatek
d81641ac18
Add theme model spec
2021-08-13 01:23:07 +02:00
Karina Kwiatek
bd5995ef65
Add specs for `nav_entry` helper
2021-08-13 00:53:11 +02:00
Karina Kwiatek
c5414ae156
Fix unreadable text on unread inbox entries
2021-08-12 23:17:47 +02:00
Karina Kwiatek
d76af263ce
Style and position badges on mobile nav
2021-08-12 21:56:28 +02:00
Karina Kwiatek
7869177527
Prevent text overflow in notification cards
2021-08-12 15:41:03 +02:00
Karina Kwiatek
72e9ca61aa
Merge pull request #187 from Retrospring/fix/question-link-visibility
...
Show question link for answered questions with only one answer
2021-08-12 15:40:09 +02:00
Karina Kwiatek
c33c4bb4ed
Give the mobile nav icon row the full viewport width
2021-08-12 13:30:19 +02:00
Karina Kwiatek
ec2332818c
Show mobile nav bar badges as pills
2021-08-12 13:29:50 +02:00
Karina Kwiatek
da70238667
Fix linter errors
2021-08-12 01:18:10 +02:00
Karina Kwiatek
78d67d2f49
Tell Sass to use CSS `max()` function
2021-08-12 01:17:25 +02:00
Karina Kwiatek
31bcc33850
Set the correct theme-color when top navigation is being used
2021-08-12 00:38:03 +02:00
Karina Kwiatek
aeb924cab9
Use correct body padding when not logged in to allow for top navigation bar
2021-08-12 00:37:59 +02:00
Karina Kwiatek
d86bf2bf9d
Use notification_count helper to get notification count for icon badge
2021-08-12 00:37:47 +02:00
Karina Kwiatek
38bd282b38
Make notification icon show notification count badge
2021-08-12 00:37:47 +02:00
Karina Kwiatek
31a8bf6f00
Add mobile user menu
2021-08-12 00:37:47 +02:00
Karina Kwiatek
e895dedd14
Make navbar icons larger
2021-08-12 00:37:47 +02:00
Karina Kwiatek
0886daa62d
Remove icon from brand in desktop navbar
2021-08-12 00:37:47 +02:00
Karina Kwiatek
b93d0402f8
Use unquote to prevent sass from erroring on env(safe-area-inset-bottom)
2021-08-12 00:37:47 +02:00
Karina Kwiatek
d27ae910c2
Adjust theme-color for mobile layout
2021-08-12 00:37:47 +02:00
Karina Kwiatek
e213041d47
Add mobile navigation bar
2021-08-12 00:37:47 +02:00
Karina Kwiatek
be1afe01e9
Fill horizontal space on medium-sized viewports
...
This removes the horrible side margins on portrait tablets
2021-08-12 00:37:41 +02:00
Karina Kwiatek
f94519ccfc
Merge pull request #186 from Retrospring/fix/line-overflow
...
Prevent line overflow in comments and question headers
2021-08-11 23:08:08 +02:00
Karina Kwiatek
680a5f4c6a
Merge pull request #189 from Retrospring/fix/list-selector-text-colour
...
Fix list group text not being visible when the selected item is a link
2021-08-11 23:07:55 +02:00
Karina Kwiatek
b60529dcf1
Merge pull request #190 from Retrospring/feature/inbox-actions
...
Add report and rails admin buttons to inbox entries
2021-08-11 22:56:31 +02:00
Karina Kwiatek
c90daf1756
Skip inbox entry actions menu if it's be empty
2021-08-11 22:38:53 +02:00
Karina Kwiatek
649bacfc45
Move report and rails admin buttons to a dropdown menu in the card header
2021-08-11 22:35:07 +02:00
Karina Kwiatek
77ec8e2f4b
Add report button to answerboxes
2021-08-11 22:11:23 +02:00
Karina Kwiatek
7f7213578b
Fix list group text not being visible when the selected item is a link
2021-08-11 21:33:38 +02:00
Karina Kwiatek
6b32bddc76
Order relationships by their creation date
...
Closes #115
2021-08-11 17:09:04 +02:00
Karina Kwiatek
56786ebb38
Add direct field to questions
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-08-11 16:56:58 +02:00
Karina Kwiatek
5e7042ad6c
Show question link for answered questions with only one answer
...
Closes #43
2021-08-11 14:44:41 +02:00
Karina Kwiatek
9de72ea46e
Prevent long words/links overflowing in questions and comments
...
This is not a problem in answers.
Closes #111
2021-08-11 14:37:12 +02:00
Karina Kwiatek
466f435116
Add rails admin link to inbox entries
2021-08-11 13:31:33 +02:00
Karina Kwiatek
11e8555dae
Merge pull request #183 from Retrospring/feature/web-share
...
Add share buttons to answers using Web Share API
2021-08-10 20:26:47 +02:00
Karina Kwiatek
aa9fc54ad2
Ensure answerboxes on profiles can properly attach sharing functionality
2021-08-10 18:07:33 +02:00
Karina Kwiatek
016f369ba2
Address review comments
2021-08-10 17:11:59 +02:00
Karina Kwiatek
b4f87a288a
Invert answerbox action CSS to be mobile first
2021-08-10 13:21:32 +02:00
Karina Kwiatek
a246083b15
Refactor sharing using feature pattern
2021-08-10 13:21:28 +02:00
Karina Kwiatek
86d179d590
Merge branch 'master' into feature/opengraph
2021-08-08 14:24:05 +02:00
Karina Kwiatek
d08d0156dc
Move graph helpers to separate module
2021-08-06 22:24:21 +02:00
Karina Kwiatek
7249e45989
Add tests for user_twitter_card and answer_opengraph
2021-08-06 21:38:51 +02:00
Karina Kwiatek
5b087cde3c
Use :ruby filter in user/show
2021-08-06 13:52:11 +02:00
Karina Kwiatek
3570171b25
Create rails_admin_path_for_resource helper
2021-08-06 13:38:24 +02:00
Karina Kwiatek
cf4d6bd100
Add OpenGraph metadata on user profiles and answers
2021-08-06 13:24:04 +02:00
Karina Kwiatek
8f23088244
Lint: Add missing space to attributes
2021-08-06 11:04:57 +02:00
Karina Kwiatek
4b52f900f2
Use expression substitution for rails admin links
2021-08-06 10:38:00 +02:00
Karina Kwiatek
08822b0f05
Move answerbox actions on to seperate row on mobile
2021-08-06 01:09:28 +02:00
Karina Kwiatek
faaab47859
Add links for jumping to rails admin on answers, questions and profiles
2021-08-05 18:31:35 +02:00
Karina Kwiatek
a13322dcee
Add share option to answers
2021-08-05 18:30:44 +02:00
Karina Kwiatek
ba709cdcf6
Update theme-color meta value to match the current page's theme
2021-06-19 21:37:04 +02:00
Erik
ff6f619756
Fix services integration after omniauth bump ( #173 )
2021-04-25 21:56:37 +02:00
Karina Kwiatek
86c940c226
Ensure minicolors overrides apply
2021-04-05 09:00:03 +02:00
Karina Kwiatek
1eb256ee88
Apply theme colours to turbolinks progress bar
2021-04-05 09:00:03 +02:00
Dominik M. Kwiatek
45cb0cab26
Disable 00_rails.ts initalizer ( #171 )
...
* Disable 00_rails.ts initalizer
* Update Gemfile.lock
Dealing with mimemagic
2021-04-03 18:58:45 +02:00
Andreas Nedbal
327c76fdb3
don't use the wrong theme color value
2021-02-27 23:32:05 +01:00
Andreas Nedbal
c68e62efb3
Fix theme page not working
2021-02-27 21:43:43 +01:00
Andreas Nedbal
fbac1f004a
Fix pagination being broken on navigation
2021-02-27 21:11:04 +01:00
Andreas Nedbal
6f37a0f0c3
disable loading BS in the TS context (for now)
2021-02-27 20:44:38 +01:00
Andreas Nedbal
abf772448e
open sesame (or, "I brought back tooltips")
2021-02-26 22:50:49 +01:00
Andreas Nedbal
3dc7bc9567
add bootstrap import to main file and use proper turbolinks event
2021-02-26 22:41:46 +01:00
Andreas Nedbal
17a177cc4b
fix JS errors that impede executing the rest of the JS ( #170 )
2021-02-26 21:43:31 +01:00
Andreas Nedbal
9d9216d726
Apply review suggestion by @raccube
...
Co-authored-by: Dominik M. Kwiatek <6197148+raccube@users.noreply.github.com>
2020-12-26 21:59:53 +01:00
Andreas Nedbal
9fceedc5b4
Add initializers for some Typescript functionality
2020-12-26 21:59:53 +01:00
Andreas Nedbal
24f197a064
Move legacy javascript folder out of packs/
2020-12-26 21:59:53 +01:00
Andreas Nedbal
51678e5e34
Add Typescript support
2020-12-26 21:59:53 +01:00
Andreas Nedbal
1221a82557
Fix HAML lint
2020-12-25 18:22:03 +01:00
Andreas Nedbal
0867a19b11
Remove i18n script include
2020-12-25 18:22:03 +01:00
Andreas Nedbal
9237d9b314
Fix sprockets crashing because of removed gems
2020-12-25 18:22:03 +01:00
Andreas Nedbal
e0c2f834d8
Import sweetalert
2020-12-25 18:22:03 +01:00
Andreas Nedbal
3347dbb923
Import missing file
2020-12-25 18:22:03 +01:00
Andreas Nedbal
fcb8aae897
Remove bootstrapped example files
2020-12-25 18:22:03 +01:00
Andreas Nedbal
70cd2e7d53
Add back the datetimepicker for moderation purposes
2020-12-25 18:22:03 +01:00
Andreas Nedbal
61f60717fc
Set up i18n-js to work with Webpacker
2020-12-25 18:22:03 +01:00
Andreas Nedbal
aac98bd3b2
Move Bootstrap initialization into own file
2020-12-25 18:22:03 +01:00
Andreas Nedbal
5d2ad96f42
WIP: Handle CoffeeScript with Webpacker
2020-12-25 18:22:03 +01:00
Andreas Nedbal
059471e5cf
Initial Webpacker setup
2020-12-25 18:22:03 +01:00
Dominik Kwiatek
3db3ccfc41
Fix incorrectly updated conditions
2020-11-17 21:57:19 +01:00
Dominik Kwiatek
cddb50cc22
Update dependencies and fix new lint warnings
2020-11-16 18:18:42 +01:00
Dominik Kwiatek
277799ff4b
Remove `TotpRecoveryCode.remove_all_for(user)` method
2020-11-15 22:09:27 +01:00
Dominik Kwiatek
2e6f49819a
Address @nilsding's review comments
2020-11-15 22:08:18 +01:00
Dominik Kwiatek
f031143b45
Fix linter errors
2020-11-15 21:35:50 +01:00
Dominik Kwiatek
aeb1396422
Add tests for recovery codes
2020-11-15 10:21:06 +01:00
Dominik Kwiatek
d7cac67c22
Create print view for recovery codes
2020-11-15 10:20:55 +01:00
Dominik Kwiatek
c7463df4d4
Fix lint errors
2020-11-01 19:10:59 +01:00
Dominik Kwiatek
e16896fac1
Provide the user a way to generate new codes.
2020-11-01 18:52:42 +01:00
Dominik Kwiatek
61d82bdbec
Display count of remaining recovery codes
2020-11-01 18:41:37 +01:00
Dominik Kwiatek
5eb4f32660
Clean up after TOTP is disabled.
2020-11-01 18:31:20 +01:00
Dominik Kwiatek
5dd920eba2
Allow recovery codes to be used to sign in in place of a OTP
2020-11-01 18:29:11 +01:00
Dominik Kwiatek
b4f479a00f
Generate recovery keys on TOTP setup
2020-11-01 17:55:31 +01:00
Dominik M. Kwiatek
ab03fadaef
Merge pull request #147 from Retrospring/feature/2fa
...
Implement Two Factor Authentication
2020-10-24 00:30:13 +02:00
Dominik Kwiatek
d20f527d8c
Add drift period
2020-10-24 00:24:04 +02:00
Dominik Kwiatek
ee4b7e2cb1
Auto focus OTP validation field on setup page
2020-10-24 00:13:26 +02:00
Dominik Kwiatek
37d2b43023
Apply styling to OTP attempt field
2020-10-24 00:13:14 +02:00
Dominik Kwiatek
0f80bcef14
Remove I18n. prefix
2020-10-23 21:01:00 +02:00
Dominik Kwiatek
702156258c
Remove user/sessions#two_factor_entry
2020-10-23 21:00:06 +02:00
Dominik Kwiatek
66cccbb5d6
Use the same string for 2FA failures
2020-10-23 20:58:42 +02:00
Dominik Kwiatek
d7a1750694
Implement @nilsding's review changes
2020-10-23 20:45:06 +02:00
Dominik Kwiatek
0f98d7bad8
Fix list styling on Comment Smiles modal
2020-10-21 20:43:58 +02:00
Dominik Kwiatek
d89d7a0e7f
Add trailing new line to settings partials
2020-10-21 13:59:13 +02:00
Dominik Kwiatek
68b1bbb908
Fix bad refactor
2020-10-21 13:55:55 +02:00
Dominik Kwiatek
d3cc421225
Rename settings partials to match naming conventions
2020-10-21 13:49:12 +02:00
Dominik Kwiatek
556050aa66
Add tests for security settings page
2020-10-21 13:44:00 +02:00
Dominik Kwiatek
3211f8f59b
Make OTP secret longer
2020-10-19 20:25:18 +02:00
Dominik Kwiatek
ea99805da1
Fix remaining lint warnings
2020-10-19 15:55:00 +02:00
Dominik Kwiatek
dc88ac3f06
haml-lint fixes
2020-10-19 15:02:04 +02:00
Dominik Kwiatek
70b8053d15
Add F-Droid & GitHub links for Android TOTP App
2020-10-19 14:56:30 +02:00
Dominik Kwiatek
433f1d45e5
Use controller for setting up QR Code
2020-10-19 14:56:13 +02:00
Dominik Kwiatek
00da21a13d
Redirect away from two factor entry page if no target user is set in session
2020-10-19 12:20:44 +02:00
Dominik Kwiatek
5447e905c0
Shorten 2FA setup OTP validation field
2020-10-18 20:49:30 +02:00
Dominik Kwiatek
d550e6d4c7
Add help text and confirmation for disabling 2FA
2020-10-18 20:49:11 +02:00
Dominik Kwiatek
4ce5dfc92a
Fix detaching, improve UI for attaching 2FA
2020-10-18 19:48:12 +02:00
Dominik Kwiatek
25410e111d
Fix OTP auth triggering for users who haven't set it up
...
I thought I could be clever by using a null secret key as an indicator of it being disabled
2020-10-18 11:39:28 +02:00
Dominik Kwiatek
141ff59f63
Implement Two Factor Authentication
2020-10-18 10:39:46 +02:00
Robin B
19b754984e
Add bottom padding to userbox col in moderation view
...
As suggested by @pixeldesu
2020-05-31 03:50:50 +02:00
Robin B
c96ad5c77c
Add bottom padding to userbox col in show_follow haml
2020-05-31 03:50:50 +02:00
Robin B
a7d66f1e01
Add bottom padding to userbox col in show_follow
...
Fixes #116
2020-05-31 03:50:50 +02:00
Robin B
9cb17f7488
Use user_screen_name() in smile tooltip
...
As suggested by @pixeldesu
Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>
2020-05-31 03:27:12 +02:00
Robin B
07d73b6fa4
Use display name instead of screen name in smile tooltip
...
Fixes #127
2020-05-31 03:27:12 +02:00
Robin B
79416c310b
Drop DejaVu Sans from sans-serif fonts
...
Fixes #132
2020-05-31 02:41:27 +02:00
Robin B
d402f9afca
Don't hide overflow of userbox
...
Fixes #126
2020-05-31 02:38:23 +02:00
Dominik M. Kwiatek
abf78d4f49
Don't center content on Desktop
...
Suggestions from @pixeldesu's review
Co-authored-by: Andreas Nedbal <andy@pixelde.su>
2020-05-29 23:05:38 +02:00
Dominik M. Kwiatek
ee947f2428
Make the "Load more" button center-aligned and give it "button" styling
...
Fixes #107
2020-05-29 23:05:38 +02:00
Dominik M. Kwiatek
a92dd54be3
Address @nilsding's review comments
2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek
29f6313c9a
Show hCaptcha validation errors on registration
2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek
1ac7c35315
Fix haml-lint errors
2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek
689521c6ed
Replace devise_error_messages! with partial
2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek
984976a2f7
Omit hCaptcha if it is disabled
2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek
7cac93ad4e
Add hCaptcha
2020-05-27 20:07:39 +01:00
Georg Gadinger
d906be9da2
Change "Lists" intro text
2020-05-25 20:16:30 +02:00
Georg Gadinger
b58883e004
Remove "ask a group" feature
2020-05-25 18:34:43 +02:00
Georg Gadinger
61816aec5f
Remove unnecessary class
2020-05-25 18:10:28 +02:00
Georg Gadinger
ea0685136e
Rename Groups to Lists
...
haha regexp go brrr
special thanks to @seatsea for helping me out with the French locales
2020-05-25 18:04:54 +02:00
Dominik M. Kwiatek
9fa099024f
Fix linter errors
2020-05-17 21:09:09 +01:00
Dominik M. Kwiatek
d4f8e03d28
Cropping in the background
...
With database fields, sadly.
2020-05-17 20:39:10 +01:00
Dominik M. Kwiatek
d185c54f03
Add CarrierWave Backgrounder
2020-05-17 20:38:40 +01:00
Karina Kwiatek
ff9741589d
Implement cropping; make uploaders DRY
2020-05-17 20:38:40 +01:00
Karina Kwiatek
9757c56a2b
Add original version to uploaders
2020-05-17 20:38:40 +01:00
Karina Kwiatek
3cc05a395f
Remove /system prefix from store_dir
2020-05-17 20:38:40 +01:00
Karina Kwiatek
6f0d4971fb
Add paperclip path to uploaders
2020-05-17 20:38:40 +01:00
Karina Kwiatek
783e47fc2b
Replace paperclip with CarrierWave
2020-05-17 20:38:40 +01:00
Georg Gadinger
49bc29b31a
fix some mistakes in some views
2020-05-17 18:15:18 +02:00
Andreas Nedbal
1b555e284d
Fix lint violation on announcements partial
2020-05-11 19:40:45 +02:00
Andreas Nedbal
66b2afc976
Turn single-word strings into symbols
2020-05-11 19:40:45 +02:00
Andreas Nedbal
7639c20f64
Fix lints in app/views/announcement
2020-05-11 19:40:44 +02:00
Andreas Nedbal
60b892e74e
Fix display_all being not defined
2020-05-11 19:40:44 +02:00
Andreas Nedbal
7b63efed6f
Fix lints in app/views/answerbox
2020-05-11 19:40:44 +02:00
Andreas Nedbal
ed6528c948
Fix lints in app/views/application
2020-05-11 19:40:44 +02:00
Andreas Nedbal
c585fe3760
Fix lints in app/views/devise
2020-05-11 19:40:44 +02:00
Andreas Nedbal
30331f4bfc
Fix lints in app/views/discover
2020-05-11 19:40:44 +02:00
Andreas Nedbal
a290cad72d
Fix lints in app/views/group
2020-05-11 19:40:44 +02:00
Andreas Nedbal
3a335798fe
Fix lints in app/views/inbox
2020-05-11 19:40:43 +02:00
Andreas Nedbal
7243fa11d4
Remove superfluous .html from layout
2020-05-11 19:40:43 +02:00
Andreas Nedbal
2686017ad8
Fix lints in app/views/layouts
2020-05-11 19:40:43 +02:00
Andreas Nedbal
7414471d41
Fix lints in app/views/modal
2020-05-11 19:40:43 +02:00
Andreas Nedbal
13878070fd
Remove superfluous .html from moderation views
2020-05-11 19:40:43 +02:00
Andreas Nedbal
3c1d007c5e
Fix lints in app/views/moderation
2020-05-11 19:40:43 +02:00
Andreas Nedbal
730b6156ce
Fix lints in app/views/navigation
2020-05-11 19:40:43 +02:00
Andreas Nedbal
d27ef3aae5
Fix lints in app/views/notifications
2020-05-11 19:38:07 +02:00
Andreas Nedbal
2d4726c297
Fix lints in app/views/public
2020-05-11 19:38:07 +02:00
Andreas Nedbal
7f17a2995e
Fix lints in app/views/question
2020-05-11 19:38:07 +02:00
Andreas Nedbal
eed08b811c
Fix lints in app/views/services
2020-05-11 19:38:07 +02:00
Andreas Nedbal
c21a3d0f73
Fix lints in app/views/settings
2020-05-11 19:38:07 +02:00
Andreas Nedbal
fe70717510
Fix lints in app/views/shared
2020-05-11 19:38:07 +02:00
Andreas Nedbal
a3117861c8
Fix lints in app/views/tabs
2020-05-11 19:38:07 +02:00
Andreas Nedbal
e08f9dafab
Fix lints in app/views/user
2020-05-11 19:38:06 +02:00
Andreas Nedbal
caa6b27684
Fix lints in app/views/static
2020-05-11 19:38:06 +02:00
Andreas Nedbal
4474d9895c
Fix notification menu clipping out of view
2020-05-11 15:19:40 +02:00
Georg Gadinger
2b66026683
Fix inbox entry not being cleared after submission
2020-05-09 14:46:47 +02:00
Andreas Nedbal
937f24839d
Fix profile links on new inbox entries being not visible
2020-05-09 11:41:24 +02:00
Andreas Nedbal
0db1de9552
Fix question page dropdowns using old Bootstrap layout
2020-05-09 05:39:01 +02:00
Andreas Nedbal
c9866e87bf
Merge branch 'master' of github.com:Retrospring/retrospring
2020-05-09 05:03:54 +02:00
Andreas Nedbal
6798dcd090
Fix question dropdown using old Bootstrap layout
2020-05-09 05:03:25 +02:00
Georg Gadinger
0d28152f3e
Fix items being inserted after "Load More" button
2020-05-09 04:51:14 +02:00
Georg Gadinger
9b4c8027b8
Fix pagination for ajax views
2020-05-09 04:39:09 +02:00
Andreas Nedbal
adf5968ad0
Fix some layout issues on question pages
2020-05-09 04:10:40 +02:00
Andreas Nedbal
4ae8b7ed81
Remove timepicker from ban modal
2020-05-09 03:21:25 +02:00
Andreas Nedbal
936969d72a
Fix ban dialog functionality
2020-05-09 03:09:12 +02:00
Andreas Nedbal
322cfceeab
Merge branch 'feature/bootstrap' of github.com:Retrospring/retrospring into feature/bootstrap
2020-05-09 02:46:03 +02:00
Andreas Nedbal
b29d3309d0
Make default btn-link themable
2020-05-09 02:45:57 +02:00
Andreas Nedbal
ba2e82d7ec
Fix moderation userbox layout
2020-05-09 02:45:47 +02:00
Georg Gadinger
ae8e0b651a
Fix Question#show view when user is nil
2020-05-09 02:43:43 +02:00
Georg Gadinger
3ae83d8d02
Unbreak the "Your Data" page when some timestamps are not set
2020-05-09 02:18:23 +02:00
Georg Gadinger
65f152b762
Move user theme to the end of the body --> turbolinks has turbo links again
2020-05-09 02:08:31 +02:00
Andreas Nedbal
d82b7006e8
Fix turbolinks loading being broken
2020-05-09 01:57:20 +02:00
Andreas Nedbal
07033545ee
Fix smiling commits not setting proper classes
2020-05-09 01:35:03 +02:00
Andreas Nedbal
925193548f
Remove hover states from notification dropdown
2020-05-09 00:53:24 +02:00
Andreas Nedbal
bc3c1f287e
Add Bootstrap input-group-text overrides for CSS variables
2020-05-09 00:51:37 +02:00
Andreas Nedbal
e44be8fa0e
Use large bell icon for notifications page
2020-05-09 00:50:46 +02:00
Andreas Nedbal
eec9637aef
Add spacing to inbox user avatars
2020-05-09 00:13:53 +02:00
Andreas Nedbal
c76f839ea7
Fixed announcement JavaScript functionality
2020-05-07 20:36:14 +02:00
Andreas Nedbal
8a8c2667de
Adjust theme settings page layout
...
- Moved color section to come right after General
- Adjusted buttons for light/dark preview to not trigger form submit
2020-05-07 20:28:20 +02:00
Andreas Nedbal
f11431279d
Fix header image not being centered
2020-05-07 19:53:40 +02:00
Andreas Nedbal
6e51294eca
Adjust announcement index page design
2020-05-07 19:49:39 +02:00
Andreas Nedbal
a9344f63a6
Override Bootstrap alert-link styling for CSS variables
2020-05-07 19:30:32 +02:00
Andreas Nedbal
5d63d0ba27
Update announcement styling and adjust announcement views
2020-05-07 19:30:13 +02:00
Andreas Nedbal
501a2cce42
Replace bootstrap3-datetimepicker with a BS4 equivalent
2020-05-07 19:29:12 +02:00
Andreas Nedbal
1cc49cf03c
Adjust warning-text default theme value
2020-05-07 19:28:26 +02:00
Andreas Nedbal
633f69c163
Fix about page icon styles
2020-05-07 15:09:55 +02:00
Andreas Nedbal
d607a8790b
Fix styling of new inbox entries
2020-05-07 15:01:35 +02:00
Andreas Nedbal
0c0b8eaf16
Remove log statement from theme code
2020-05-07 03:56:11 +02:00
Andreas Nedbal
787ec882c4
Fix answerbox text layout on mobile
2020-05-07 03:46:44 +02:00
Andreas Nedbal
7c8809ce14
Remove iOS button style from dropdown toggle
2020-05-07 03:43:13 +02:00
Andreas Nedbal
a3d302586d
Remove border-radius from jumbotrons
2020-05-07 03:39:02 +02:00
Andreas Nedbal
207769d164
Fix layout of profile header in profile settings
2020-05-07 02:30:50 +02:00
Andreas Nedbal
3a4b04b5da
Don't track theme style tags with turbolinks
2020-05-07 02:13:07 +02:00
Andreas Nedbal
12955cc663
Fix design of user and questionboxes
2020-05-07 02:12:44 +02:00
Andreas Nedbal
b443aff964
Fix moderation comment layout
2020-05-06 22:54:36 +02:00
Andreas Nedbal
c75c86e16c
Add focus and active override styles
2020-05-06 22:48:07 +02:00
Andreas Nedbal
771e09133c
Add active styling for buttons
2020-05-06 22:35:33 +02:00
Andreas Nedbal
c261c85e22
Fix outline button styles
2020-05-06 22:24:56 +02:00
Andreas Nedbal
e4561862e5
Adjust frontpage text to match master version
2020-05-06 22:22:16 +02:00
Andreas Nedbal
928eeb28f3
Redirect user to edit_user_theme_path after deletion
2020-05-06 22:19:30 +02:00
Andreas Nedbal
83f51b6422
Add new styling for Devise views
2020-05-06 21:56:10 +02:00
Andreas Nedbal
6c54f8b79f
Adjust image spacing in profile settings
2020-05-06 21:29:06 +02:00
Andreas Nedbal
f4da2b84c6
Improve styling of minicolors swatch
2020-05-06 21:19:49 +02:00
Andreas Nedbal
65e66003ee
Fix theme deletion not working
2020-05-06 18:51:06 +02:00
Andreas Nedbal
f8448405a4
Remove empty Helper classes
2020-05-06 18:42:53 +02:00
Andreas Nedbal
f6ca2176d3
Remove arctic_scroll
2020-05-06 18:13:51 +02:00
Andreas Nedbal
e1c1357d9b
Fix missing arguments on current_page?
2020-05-06 14:49:35 +02:00
Andreas Nedbal
9961796e3b
Apply review suggestion for navigation tag helpers
2020-05-06 14:30:12 +02:00
Andreas Nedbal
859d2825d1
Remove mention of shutdown from export page
2020-05-06 14:23:11 +02:00
Andreas Nedbal
689dd3880f
Adjust texts in tabs/feed template
2020-05-06 13:56:09 +02:00
Andreas Nedbal
892b708c6f
Implement changes to ThemeHelper requested by review
...
- turned theme_attribute_map into frozen constant ATTRIBUTE_MAP
- early return if no theme exists, instead of if-block
- usage of Hash#key? instead Hash[k] to confirm existence of key in hash
- Early skip/next if key is not present in Hash instead of if-block
2020-05-06 13:36:43 +02:00
Andreas Nedbal
d9f67e86d9
Fix get_active_theme to return proper theme for user
2020-05-05 20:17:49 +02:00
Andreas Nedbal
c142920c6c
Adjust answerbox layout on mobile
2020-05-05 05:04:54 +02:00
Andreas Nedbal
0bc4a5b968
Fix hidespan helper using not existing Bootstrap class
2020-05-05 05:04:43 +02:00
Andreas Nedbal
22ae1f6655
Adjust navigation layout on main feed pages
2020-05-05 04:31:15 +02:00
Andreas Nedbal
aa25e8199f
Remove old theme styling file
2020-05-05 03:27:56 +02:00
Andreas Nedbal
83cebe4d9b
Fix theme preview not applying
...
This happens because the generated "preview style tag" is added before the main style one. This change makes sure the theme is rendered right after the application style
2020-05-05 02:03:49 +02:00
Andreas Nedbal
9d5d205ded
Fix muted text variant not overriding Bootstrap default
2020-05-05 02:02:49 +02:00
Andreas Nedbal
04c4e4c7f1
Add variables for light/dark color variants
2020-05-05 02:02:33 +02:00
Andreas Nedbal
880429f5f9
Add new fields for themes
...
- In the settings view
- In the model validation
- In the controller parameter permissions
- In the CoffeeScript/Ruby helpers
2020-05-05 02:02:16 +02:00
Andreas Nedbal
53979580d8
Merge branch 'master' into feature/bootstrap
2020-05-04 23:19:54 +02:00
Andreas Nedbal
a3a1250dcf
Fix default text color of list group actions
2020-05-04 20:47:00 +02:00
Andreas Nedbal
d93548891d
Remove obsolete render_theme_with_context
2020-05-04 17:26:57 +02:00
Andreas Nedbal
e7c5b1a4a3
Remove theme preview route and logic
2020-05-04 17:26:38 +02:00
Andreas Nedbal
582f8606b0
Changed theme preview to work without hitting an endpoint
2020-05-04 17:26:18 +02:00
Andreas Nedbal
fe357eaa07
Update layout of the theme settings page
2020-05-04 15:37:13 +02:00
Andreas Nedbal
9235533f59
Adjust button styles for theming
...
- Default (unstyled) buttons use the body text color
- Colored buttons use their text color equivalent
2020-05-03 21:57:19 +02:00
Andreas Nedbal
a36bcf6cd3
Add Bootstrap modal overrides for CSS variables
2020-05-03 21:44:12 +02:00
Andreas Nedbal
ea638305cc
Fix customized hover/focus styles for list group items
2020-05-03 20:39:45 +02:00
Andreas Nedbal
1eddb0ad36
Adjust input styling to be a bit more lenient in themes
2020-05-03 20:39:21 +02:00
Andreas Nedbal
a6b21a85e5
Add more theming changes to dropdowns
2020-05-03 20:24:32 +02:00
Andreas Nedbal
241b8cbdcb
Rename card variables to "raised"
2020-05-03 20:10:50 +02:00
Andreas Nedbal
02cc1c418d
WIP: Initial implementation of CSS variable based theming
2020-05-03 17:28:41 +02:00
Andreas Nedbal
51bef29ace
More style adjustments to default and core elements
2020-05-03 17:28:19 +02:00
Andreas Nedbal
9b38b1d736
Refactor comment styles and layout
2020-05-02 21:23:04 +02:00
Andreas Nedbal
85d97b0c71
Rename changed classes across templates
2020-05-02 20:35:48 +02:00
Andreas Nedbal
b508eb3f21
Refactor and adjust answerbox styles
2020-05-02 20:35:28 +02:00
Andreas Nedbal
2a8a80e859
Refactor locale panel styles
2020-05-02 18:29:04 +02:00
Andreas Nedbal
28c21dcc3d
Refactor smile user list styles
2020-05-02 18:12:55 +02:00
Andreas Nedbal
1f5ec4e28d
Remove unused variable file
2020-05-02 17:47:07 +02:00
Andreas Nedbal
7601da1975
Remove unused panel styles
2020-05-02 17:44:43 +02:00
Andreas Nedbal
f40435da4b
Remove unused classes from base and add imports to main file
2020-05-02 17:38:23 +02:00
Andreas Nedbal
22ef4f4656
Add smiles scss component
2020-05-02 17:37:58 +02:00
Andreas Nedbal
948bc27810
Add body element scss file for body style adjustments
2020-05-02 17:37:42 +02:00
Andreas Nedbal
1e2259fe40
Rename j2-page class to container--main
2020-05-02 17:37:19 +02:00
Andreas Nedbal
4e9311c25b
Add generic navbar-height variable
2020-05-02 17:36:40 +02:00
Andreas Nedbal
2c11272bd4
Move utility class to utilities file
2020-05-02 17:36:22 +02:00
Andreas Nedbal
8c3ff8f31d
Add overrides for growls and sweet-alert
2020-05-02 17:36:05 +02:00
Georg Gadinger
0109322610
add spec for Ajax::ModerationController
2020-05-01 22:41:26 +02:00
Andreas Nedbal
185b5a65c8
Refactor notification styling and layout
2020-05-01 21:57:14 +02:00
Andreas Nedbal
aa5ca6c64a
Remove unused variables and move remaining ones to proper file
2020-05-01 19:50:51 +02:00
Andreas Nedbal
e8b003fde4
Refactor entry styling and adjust layouts where used
2020-05-01 19:29:05 +02:00
Andreas Nedbal
932c611dab
Fix userbox layout on frontpage
2020-05-01 18:55:18 +02:00
Andreas Nedbal
33e2533467
Add overrides files for bs-datetimepicker and minicolors
2020-05-01 18:38:49 +02:00