Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Record client IP address

Đang mở
#2,811 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
full-stack

Hướng nghiên cứu

Không có tệp hoặc test nào được nêu tên. Hãy bắt đầu bằng cách xác định UI cài đặt biểu mẫu, quá trình xử lý gửi biểu mẫu và các đường dẫn export spreadsheet/CSV, sau đó lần theo cách một câu trả lời ngầm tùy chọn có thể đi qua chúng. Công việc được xem là hoàn tất khi IP máy khách IPv4/IPv6 được bật theo opt-in, văn bản cảnh báo tùy chọn ở chân biểu mẫu và một cột export được bao phủ bởi các test phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

0. Needs triage enhancement

Provide and option in the form settings to record the submitter client's IP address (v4 or v6) as an implicit extra "answer", exportable as an extra column. It may or may not enable a

  • Nextcloud-Version: any
  • Forms-Version: any

Is your feature request related to a problem? Please describe.
It would facilitate filtering out spammy submissions when automatically processing the report, instead of having to dig into access logs. It would also allow some finer control when asking the user for their e-mail address.

Describe the solution you'd like

  • Under "Form settings", add a checkbox: "Record client IP address."
  • If the previous option is active, add a textbox: "Show warning: [ Your IP address will be recorded. ]" and publish it in the footer of the form.
  • When exporting as a spreadsheet/CSV, add a column like "Client IP address" (or custom question id).

Describe alternatives you've considered

  • Digging into access logs.
  • Try to pattern-match the answers.
  • Asking the user to manually fill-in their IP address.

Additional context

  • Consider both IPv4 and IPv6.
Ngôn ngữ chính
JavaScript
Star
382
Fork
127
Merge trung bình
19 giờ 31 phút
Pull request đã merge (30 ngày)
75

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/forms

Tất cả issue của nextcloud/forms

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.