2
0
Files
bot/apps/builder
Baptiste Arnaud fcfbd63443 🛂 Auto ban IP on suspected bot publishing (#1095)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced sign-in error handling with specific messages for different
error types.
- Implemented IP-based restrictions for authentication and publishing
actions.

- **Bug Fixes**
- Updated the retrieval of user session information to improve
reliability.

- **Documentation**
- Updated usage instructions for `getServerSession` to reflect the new
authentication options.

- **Refactor**
- Replaced direct usage of `authOptions` with a new function
`getAuthOptions` to dynamically generate authentication options.
- Improved IP address extraction logic to handle various header formats.

- **Chores**
- Added a new `BannedIp` model to the database schema for managing
IP-based restrictions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-11 13:40:07 +01:00
..
2023-12-06 07:30:47 +01:00
2022-11-21 11:18:58 +01:00
2021-12-16 15:19:05 +01:00
2023-12-08 18:16:07 +00:00
2023-03-15 08:35:16 +01:00
2022-12-16 08:39:14 +01:00
2023-10-27 09:23:50 +02:00
2023-10-27 09:23:50 +02:00