Commit graph

202 commits

Author SHA1 Message Date
Karina Kwiatek
d20e07ee19 Remove relationship counters in users table 2022-01-23 16:48:53 +01:00
Karina Kwiatek
ce951453a2 Make relationships polymorphic 2022-01-23 16:48:53 +01:00
Karina Kwiatek
ee6ba8f9b7 Update schema.rb (post-rebase) 2022-01-23 16:48:53 +01:00
Karina Kwiatek
45854894dc Upgrade to Rails 6.0 2022-01-13 21:42:06 +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
96e48a833b
Merge pull request #194 from Retrospring/refactor/user-bans
Implement ban history
2022-01-06 14:05:33 +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
Karina Kwiatek
e4241d2001 Create user ban model
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-02 19:50:01 +01:00
Karina Kwiatek
3acdfafcae Use timestamp IDs for mute rules 2022-01-02 15:30:04 +01:00
Karina Kwiatek
c3fcd4eb07 Update schema.rb (post-rebase) 2022-01-02 01:55:52 +01:00
Karina Kwiatek
f85769eb55 Add mute rules 2022-01-01 00:38:36 +01:00
Karina Kwiatek
07a54c473e Add notifications table indexes for recipient_id & new 2021-12-28 15:11:41 +01:00
Karina Kwiatek
21f01fed02 Use an INSERT INTO ... SELECT to move profile data and drop the old columns 2021-12-23 08:56:50 +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
ff410773dd Create Profile model 2021-12-22 00:03:18 +01: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
Dominik Kwiatek
9558fbf9fe Add sign in tests 2020-12-25 02:07:37 +01:00
Dominik Kwiatek
b4f479a00f Generate recovery keys on TOTP setup 2020-11-01 17:55:31 +01:00
Dominik Kwiatek
d7a1750694 Implement @nilsding's review changes 2020-10-23 20:45:06 +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
Georg Gadinger
efec568d43 Use timestamp-based IDs
This change introduces timestamp-based (Snowflake/Cornflake/Waspflake)
identifier.
2020-07-04 20:46:50 +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
3f4b3b8e4e Simplify Rename Crop Fields migration 2020-05-21 21:32:36 +01:00
Dominik M. Kwiatek
2263fe000e Remove un-needed paperclip fields 2020-05-17 20:39:10 +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
5c0871f33c Address @nilsding's review comments
- Fix types on legacy attachment migrations
- Restore Action Mailer setup for development env
- Use `Hash#dig` in CarrierWave initializer
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
75e9a12493 Add indexes to some heavily used tables
haha queries go brrr
2020-05-09 12:07:18 +02:00
Andreas Nedbal
1cc49cf03c Adjust warning-text default theme value 2020-05-07 19:28:26 +02:00
Andreas Nedbal
47e5675d84 Remove superfluous database migration 2020-05-06 13:53:43 +02:00
Andreas Nedbal
b16e1c1b58 Turn UpdateThemeFields into an IrreversibleMigration 2020-05-06 13:53:01 +02:00
Andreas Nedbal
af91fe6d03 Update theme fields
- Create migration
  - Remove CSS file fields
  - Rename panel fields to "raised" fields
  - Rename "default" to "dark" fields
  - Add "light" color fields
  - Rename "background_" fields
  - Remove unused fields
  - Adjust column default values
  - Add rollback migrations
2020-05-05 01:49:01 +02:00
Karina Kwiatek
5db6f90b36 Update schema.rb to match state of current branch 2020-04-25 21:21:42 +01:00
Karina Kwiatek
10a9ca5577 Fix bad replace; update schema.rb 2020-04-25 21:01:46 +01:00
Karina Kwiatek
2bf7d29e98 Remove unused profile flags / role columns
These were made redundant by #67
2020-04-25 20:51:28 +01:00
Karina Kwiatek
391f4a28ed Merge branch 'master' into feature/announcements
# Conflicts:
#	db/schema.rb
2020-04-19 21:52:58 +01:00
Georg Gadinger
946bb3ae9d Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
Karina Kwiatek
8a632a09cd Create Announcement model & controller 2020-04-19 20:12:22 +01:00
Andreas Nedbal
e1f775d955 append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
Georg G
e396e0f593 added some more fields to the users table 2016-01-05 18:03:39 +01:00
pixeldesu
927d6632c1 make the notification center smaller and shorten content 2015-09-16 23:59:47 +02:00
Yuki
71caf3cce5 Several changes to theming, solving a bunch of bugs 2015-08-27 05:30:26 +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
54b051a7e7 Temp. layout for testing 2015-07-24 22:42:14 +05:30
pixeldesu
aabbd9fb8c add :confirmable to users + migration / letter_opener for local email confirmations 2015-07-21 17:55:28 +02:00
Yuki
af71f1ef34 Some adjustmenets to locale logic, add 'jp.language: 日本語', regenerate schema 2015-07-04 13:01:46 +05:30
pixeldesu
355f3979ce update schema and migration 2015-06-19 15:09:02 +02:00
pixeldesu
c1faf41305 added translator badge to profiles 2015-06-19 14:46:23 +02:00
Yuki
69a1bb32f4 Basic locale check 2015-05-26 08:56:40 +05:30
Yuki
2e6ffdaab7 basic implementation 2015-05-08 21:14:16 +05:30
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
2204227273 Feature-comment-smiles complete (fix Retrospring/bugs#42) 2015-05-04 07:09:47 +05:30
Yuki
9688b7ee48 Merge stable 2015-04-28 10:22:54 +05:30
Yuki
3ef2c841c5 Report logic 2015-04-26 06:29:30 +05:30
pixeldesu
e2f06167dc fix styling and schema 2015-04-26 02:46:37 +02:00
pixeldesu
c8ba89dd1e change question display and add report placeholder 2015-04-26 02:18:57 +02:00
Yuki
be04d3528c Support for ban reasons and ban times. Fixes Retrospring/bugs#26 and Retrospring/bugs#25 2015-04-23 06:26:29 +05:30
Yuki
b9bf0b04b6 Add support for report reasons 2015-04-22 08:29:10 +05:30
Georg G
20101e4213 update schema 2015-04-22 00:31:51 +02:00
Yuki
f6b6bb9c54 revert schema 2015-04-21 17:54:25 +05:30
Yuki
8eeae22c43 Don't resubscribe if a user unsubscribes and comments again 2015-04-21 17:52:32 +05:30
Yuki
ecffd07344 Support for post subscriptions 2015-04-21 06:42:11 +05:30
Georg G
04f157bebb schema 2015-04-19 22:30:54 +02:00
Georg G
af9c905165 added contributor column to users 2015-04-19 22:24:36 +02:00
nilsding
87d08f92e8 forgot to add migration and everything 2015-01-25 20:30:53 +01:00
nilsding
eaa4096af5 Merge branch 'master' into groups
Conflicts:
	db/schema.rb
2015-01-13 07:05:11 +01:00
nilsding
f8a20099fa forgot to add the schema file, argh 2015-01-12 22:44:35 +01:00
nilsding
1bb369aa7d implemented basic functionality of YE OLDE BANHAMMER! 2015-01-12 22:44:13 +01:00
nilsding
5e26d72d91 finally commited the stuff I wrote 4 hours ago 2015-01-10 23:29:04 +01:00
nilsding
ce7f896e0c added Group model 2015-01-08 13:16:13 +01:00
nilsding
b3348dbfff added a few privacy options to users 2015-01-03 21:43:19 +01:00
nilsding
5af3f1a109 added supporter thing to users 2015-01-03 00:15:09 +01:00
nilsding
4adc6eec09 ugh 2014-12-29 14:49:57 +01:00
nilsding
b378a03afa added delayed_paperclip 2014-12-29 11:58:01 +01:00
nilsding
cf3933271a added profile_picture to users 2014-12-29 10:18:12 +01:00
nilsding
7d55141a1a added deleted column to reports 2014-12-28 21:34:36 +01:00
nilsding
b625144993 added moderation models 2014-12-27 14:35:09 +01:00
nilsding
9e918fa3dc added moderator to users 2014-12-26 13:34:01 +01:00
nilsding
61a7b582e4 created notification model 2014-12-13 19:30:10 +01:00
nilsding
6d23ed5dcd added service model 2014-12-12 21:42:34 +01:00
nilsding
384cc7f5ea changed answer#content column type to allow longer answers 2014-12-08 12:20:40 +01:00
nilsding
7de522a82f added question#show thing and more... 2014-12-07 20:51:44 +01:00
nilsding
8b682bd52f added website, bio and location fields to user 2014-12-01 20:47:10 +01:00
nilsding
027f2629b1 added smile model 2014-11-30 19:43:22 +01:00
nilsding
57c4578533 added relationship model 2014-11-30 14:06:05 +01:00
nilsding
685b0efe83 added motivation header 2014-11-29 22:34:11 +01:00
nilsding
96dbb77f7c added admin field to users 2014-11-26 17:02:47 +01:00
nilsding
95bb85a4f6 added smile count to tables 2014-11-13 17:49:31 +01:00
nilsding
17db50623a added inbox model 2014-11-10 23:46:02 +01:00
nilsding
81055c49c5 added display_name to users 2014-11-04 15:38:27 +01:00
nilsding
f935500586 fixed migration 2014-11-03 12:54:02 +01:00
nilsding
30837ad131 added some counters (followers, friends, ...) to the users table 2014-11-02 17:58:09 +01:00
nilsding
ae66877cde changed a few things 2014-10-28 06:36:38 +01:00
nilsding
7641726677 added authentication and everything 2014-08-01 15:27:08 +02:00
nilsding
b45be30b19 added users model 2014-08-01 12:07:16 +02:00
nilsding
386066c55b first commit 2014-08-01 11:23:47 +02:00