132 Commits

Author SHA1 Message Date
HaHaWTH
b2678d3165 Bump to B37 and fixes #76 2023-12-13 21:36:17 +08:00
HaHaWTH
12f7c63ed5 B36 release 2023-12-11 22:15:42 +08:00
HaHaWTH
ac855f9a83 B35 release 2023-12-02 19:31:25 +08:00
HaHaWTH
23306d1f5c prepare for b34 2023-11-25 19:15:19 +08:00
HaHaWTH
657e51f2cc Bump version number to b33 2023-11-14 02:01:27 +08:00
HaHaWTH
78b5102692 Prepare for B32 2023-11-11 21:41:08 +08:00
HaHaWTH
80b06f3bc7 Now prepare for B31 2023-10-25 01:05:36 +08:00
HaHaWTH
1bb3bb1fa7 Prepare for B30 2023-10-21 19:50:35 +08:00
HaHaWTH
12cfd243f6 Prepare for B29 2023-10-19 22:09:56 +08:00
HaHaWTH
76b92bacd9 Prepare for B28 2023-10-15 10:25:26 +08:00
HaHaWTH
17ee5dc97b Prepare for B27 2023-10-14 20:37:23 +08:00
HaHaWTH
f978b285ae Prepare for B26 2023-10-13 18:46:26 +08:00
HaHaWTH
e6be595c16 Prepare for B25 update 2023-10-01 19:58:26 +08:00
HaHaWTH
04ad3adbd1 Add 1.8 compatibility & Bump to B24 2023-09-30 15:22:34 +08:00
HaHaWTH
9093ad2d9f Prepare for b23 2023-09-20 02:32:53 +08:00
HaHaWTH
3f6a7ce48f Sync repo files to b22 2023-09-20 02:15:22 +08:00
HaHaWTH
ed320196fe Remove all files 2023-09-20 02:10:19 +08:00
HaHaWTH
7e49e26735 reupload files 2023-07-11 20:45:01 +08:00
HaHaWTH
b014da245d Del all files 2023-07-11 20:42:24 +08:00
Sattera
110fc7266d [功能] 向 authme.admin.whitelistmessage
权限节点添加没有注册资格的玩家尝试入服的提醒
2023-06-24 18:47:26 +08:00
Sattera
bc43afe3d0 添加对 floodgate 的支持 2023-04-06 09:37:57 +08:00
Sabrita
674d72c113 优化 import 。更改默认配置 2023-02-28 12:36:56 +08:00
ljacqu
7bede2528f
#1523 Create admin commands to handle players' 2FA data (#1876)
* #1523 Create admin commands to handle players' 2FA data
- Create admin command to view if a player has enabled 2FA
- Create admin command to disable 2FA for a specified player
2019-08-05 19:31:59 +02:00
Gabriele C
59c69de63d
Fix 1.8 - 1.13 compatibility 2019-04-24 17:22:42 +02:00
Gabriele C
5b97841699 Add 1.14 compatibility 2019-04-23 17:18:42 +02:00
Gabriele C
7f91b739f2 Maven cleaup 2018-09-17 22:55:36 +02:00
Gabriele C
2324835064
Fix test 2018-09-13 09:04:32 +02:00
Alan Gomes
d39562d624 Create permission to bypass bungeecord server teleportation (#1626) 2018-09-02 13:01:04 +02:00
Gabriele C
38711a9913 1.13 compatible 2018-07-16 13:57:14 +02:00
ljacqu
6142042996 #1417 Add permission node to allow chat before login 2018-05-21 08:45:18 +02:00
ljacqu
29ac3a7022 #1141 Fixes to TOTP implementation
- Revert back to SHA1 as HMAC hash function so that it works with Google authenticator
- Add message to user to tell him to run /2fa confirm to add a TOTP code
2018-04-22 11:13:27 +02:00
ljacqu
f66a8a5b06 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
# Conflicts:
#	src/main/java/fr/xephi/authme/permission/PlayerPermission.java
#	src/main/java/fr/xephi/authme/service/BukkitService.java
2018-03-20 23:07:25 +01:00
HexelDev
f5efd4bf23 Updating plugin.yml 2018-03-15 21:45:23 +01:00
ljacqu
eb9cd31a65 #1141 Split TOTP permissions for add/remove, refactor TOTP services
- Split TotpService further into GenerateTotpService and TotpAuthenticator, which wraps the GoogleAuthenticator impl
- Add missing tests for the services
- Change GenerateTotpService's interface to behave like a collection for more intuitive method behavior
2018-03-10 16:21:53 +01:00
ljacqu
c3cf9e3ee0 #1141 Rough version of TOTP commands to add and remove a code for a player 2018-03-07 20:11:53 +01:00
Maxetto
fe075a5c60
Remove VIP status to OP by default
Closes #1040.
2018-03-01 18:04:30 +01:00
ljacqu
50dbbb8d87 #1254 Create command to see recently logged in players
- Create datasource method to fetch most recent players by last login date
- Add command to view last logged in players
2017-11-28 21:07:10 +01:00
HexelDev
ba65633182 Email verification code (#1382)
* Base verification code implementation, must define command, manager, events
* VerificationManager, verification command and messages, handled some sensible commands, configuration values
* Improved manager and sensible commands trigger
* Updated messages
* Updated verification code manager, fixed tests
* Switched to a permission based command
* Verification manager and command improved and added tests
* Edited messages
2017-10-28 12:23:14 +02:00
ljacqu
d6e2369f36 #792 Force migration of SQLite when necessary (#1371)
- Detect if a migration is necessary
- Create a backup
- Perform the migration
2017-10-22 09:16:48 +02:00
ljacqu
1651a61063 #792 #814 Implement SQLite migration, allow last IP to be nullable in MySQL
- Old SQLite setups have the last IP column as NOT NULL but without a default value. With the new concept (where we don't set a last IP on player registration) it fails.
  - Create an /authme debug child that allows to migrate SQLite (tricky because SQLite does not support dropping or modifying columns)
  - Allow last IP column to be NOT NULL in MySQL as well (extend MySQL /authme debug child)
- Add TODO comments with follow-up issue to extend our commands with new registration IP field
2017-10-21 10:45:48 +02:00
ljacqu
1df5308e56 #792 #814 Create command to remove NOT NULL constraints
- Create command under /authme debug that allows to change the 'nullable' status of MySQL columns (currently last date and email only)
   - We need to offer a default value for forum integrations that have a NOT NULL email column. Offering a command avoids us from force-migrating existing databases while still offering migrations in both directions
- Change in default value handling: lack of values are not handled by setting default values to the PlayerAuth anymore, and reading a default value from the database into a PlayerAuth will be translated into null by the PlayerAuth builder
- When a new database is created, email and lastlogin are now nullable and lack a default a value

Open points:
- Finish MySqlDefaultChangerTest
- Revise purging logic (#792)
- Allow to have more columns nullable (#814)
2017-10-15 12:56:13 +02:00
Gabriele C
f754331de6 Implement LuckPerms permission handler
#1324
2017-09-14 20:39:15 +02:00
Gabriele C
6b875a9ba4 Add permission to bypass country check (#1323)
* Add permission to bypass country check

#1321 Still need to fix unit tests

* Fix test
2017-08-31 19:36:57 +02:00
Gabriele C
b96ae61697 Remove some old plugin hooks, update dependencies 2017-08-31 11:47:55 +02:00
HexelDev
1dfb3575b5 #1119 email show permission and privacy improvements (#1312)
* #1119 new permission and email hider

* Updated commands.md

* Improved email hiding method

* Revert "Improved email hiding method"

This reverts commit cb60d7b

* New config option, updated tests, config.md and permission_nodes.md

* Moved to service import, fixed typo and updated config.md

* Removed unused imports O.o
2017-08-12 16:20:06 +02:00
ljacqu
578f63b944 #923 Create /authme purgeplayer command
- Create command to purge a specific player name
- Update docs
2017-04-29 18:31:37 +02:00
ljacqu
0e923b6a70 #1180 Create command for performing a backup 2017-04-23 20:23:40 +02:00
ljacqu
2a747c7d01 #1034 Create permissions for debug sections
- Add an individual permission for each debug section (including wildcard perm)
- Create test for DebugCommand
- Refactor tests for the enum permission nodes to use the same abstract class
- Update related project files (plugin.yml, permission docs, command docs)
2017-04-14 19:54:17 +02:00
ljacqu
24162ad94b #1034 Create debug command structure + utility to see permission groups
- Relevant to current work... :)
2017-01-29 19:47:14 +01:00
ljacqu
d09964f1cb #963 Create tool task to generate plugin.yml
- Create task that generates commands/permissions section of plugin.yml
- Change CommandInitializer to return a List instead of Set (preserve insertion order)
- Merge CommandSyntaxHelper into CommandUtils
2016-10-23 12:17:37 +02:00