Commit Graph

29 Commits

Author SHA1 Message Date
evazion
07e23204b6 rubocop: fix various Rubocop warnings. 2021-06-17 04:17:53 -05:00
evazion
60ff2ae929 models: rename post/pool archives to post/pool versions. 2020-02-15 06:52:10 -06:00
evazion
309821bf73 rubocop: fix various style issues. 2019-12-22 21:23:37 -06:00
evazion
a2ea2a65a1 db: drop IP addresses from certain tables.
Don't track IP addresses for post appeals, post flags, tag aliases, tag
implications, or user feedbacks. These things are already tightly
limited. We don't need IPs from them to detect sockpuppets.
2019-11-17 02:45:28 -06:00
evazion
a1b48f5e3f views: migrate search forms to use simple form.
Migrate various forms to be built using simple form instead of raw html.
Also adds autocomplete="off" to these forms (#4162).
2019-09-10 14:33:18 -05:00
evazion
80f43f9a7c Fix #4038: Attempting to create an IP-ban bans the creator.
* Rename comments.ip_addr to comments.creator_ip_addr.
* Fix belongs_to_creator to not clobber ip_addr field.
2019-01-09 16:20:34 -06:00
Albert Yi
fe612908cd add creator_ip_addr field to user feedback 2018-11-29 16:51:46 -08:00
Albert Yi
5404c1d231 implement postarchive 2017-02-21 13:40:52 -08:00
r888888888
48e66cddbb fixes #2849: IP address search is broken 2017-01-20 15:37:26 -08:00
evazion
cf046eecbf Fix ip addr search tests. 2017-01-12 09:28:52 +00:00
evazion
26c193dfb3 Change post_appeals.creator_ip_addr from integer to inet.
The existing values are garbage, rails stored e.g. "87.126.98.245" as
"87.126.98.245".to_i => 87. The column is nulled to indicate these IPs
are unknown.
2017-01-12 09:28:21 +00:00
evazion
e8f71739be IpAddrSearch: search flags/appeals/artcomms/artists for IPs. 2017-01-12 09:28:21 +00:00
evazion
4848f18455 IpAddrSearch: fix pool_versions exception.
Fix pool_versions exception if PoolArchive db isn't set up. Prefer
ActiveRecord over raw sql so we can get real user objects so that the
view can use link_to_user.
2017-01-12 09:28:21 +00:00
evazion
fde7829bf6 IpAddrSearch: simplify search_by_user_name, remove unused @errors. 2017-01-12 09:15:15 +00:00
Albert Yi
63c218d71d fixes #2825: Restore search within pool versions IP in mod tools 2017-01-09 18:12:54 -08:00
Type-kun
3d2b81d1e8 Commented out references to pool_versions table 2017-01-02 11:44:06 +05:00
r888888888
5b3a4b768c fixes #2557 2015-12-17 14:29:17 -08:00
Toks
508928924e IP search: normalize name capitalization and whitespace 2015-11-26 19:27:55 -05:00
r888888888
d8e84a90dc Revert "fixes #2530: improved ip addr search"
This reverts commit 1eb2d515fd.

Conflicts:
	app/views/moderator/ip_addrs/index.html.erb
2015-10-15 12:12:21 -07:00
r888888888
1eb2d515fd fixes #2530: improved ip addr search 2015-10-08 17:28:50 -07:00
Toks
643ab7b2c6 ip search: add quick links & improve usability
#2530
2015-10-08 01:14:48 -04:00
r888888888
3ba7daebd1 include dmail ip addrs in search 2014-02-21 14:15:37 -08:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
e0fdda3103 fixes to model searches 2013-02-19 12:27:17 -05:00
albert
8749c43b3e refactored search 2013-01-10 17:45:52 -05:00
albert
3eb06a43c4 fixes #324 2012-02-20 14:25:50 -05:00
albert
4283bce8b9 fix functional tests 2012-01-15 17:04:22 -05:00
albert
ef71a31de8 fixes #234 2012-01-07 21:54:19 -05:00
albert
c8afd34d15 added ip addr search 2011-07-29 18:04:50 -04:00