Meisam and GitHub
10456b0a01
Remove user's own name from the autocomplete suggestions ( #1258 )
...
* remove the username from list
* fix updateAuthorList returns
2021-07-25 22:26:27 -07:00
Meisam and GitHub
7526b5305c
add emoji to the caret position ( #1253 )
2021-07-24 10:25:40 -07:00
Meisam and GitHub
bb09c0d187
Autocomplete emoji names ( #1250 )
...
* generalize autoComplete function
* autocomplete emoji names
* isolate the state of each token
* minor fix
* save emojiNames in state
2021-07-23 14:15:25 -07:00
Meisam and GitHub
7867260b9c
getCaretPosition considering all html elements ( #1246 )
2021-07-23 11:20:59 -07:00
Meisam and GitHub
e1c4b452e6
test emoji title and alt tag sanitization ( #1244 )
2021-07-23 11:01:30 -07:00
Meisam and GitHub
a8e93de134
Prevent remote image injection with /img/emoji/ in url ( #1245 )
...
* test remote img blocking with /img/emoji/ in url
* fix emoji filter
prevent injection of remote img with /img/emoji in url
2021-07-23 11:00:04 -07:00
Meisam and GitHub
c4c1ecfc7b
Allow alt and title tags in chat emojis ( #1241 )
...
* allow alt and title on chat imgs
* enforce non-empty alt&title tags for emojis
2021-07-22 22:22:33 -07:00
Meisam and GitHub
617156b18d
link assets under the same protocol for bots ( #1187 )
...
* link assets under the same protocol
* use // for metadata urls
2021-07-17 20:28:20 -07:00
Meisam and GitHub
a00052ef89
set summary in metadata ( #1185 )
2021-07-13 14:44:03 -07:00
Meisam and GitHub
d042fd70d1
Cache the custom emoji list ( #1175 )
...
* use emojiCache
* add emojiCacheTimestamp
* add function description
* better logging
2021-07-11 15:34:56 -07:00
Meisam and GitHub
08b6c4e3cf
Better handling of os.Stat() errors ( #1173 )
2021-07-09 18:31:43 -07:00
Meisam and GitHub
7361578412
style fix for error checking ( #1170 )
...
+additional linting
2021-07-09 11:16:44 -07:00
Meisam and GitHub
a13e1e75e2
proper cleanup and permission check for the hls directory ( #1167 )
...
* check error on hls cleanup
* rm HLS directories before creating new ones
* don't mask the variable
* mv cleanupDirectory() to utils
* add user-friendly error messages
2021-07-08 12:35:53 -07:00
Meisam and GitHub
3b6ef78ff7
fix video variant sorting ( #1150 )
2021-07-01 18:17:50 -07:00
Meisam and GitHub
e991199735
updates to backups directory ( #1099 )
...
* read BackupDirectory from command line flag
* Change the default backup directory
* mkdir BackupDirectory
* use config for backup file path
* migrateDatabase to the backup directory
* use DoesFileExists
change permission on the directory to 0700
* declare err
* generate backupFile where needed
* style fix
* more style fixes
* more style fixes
2021-06-13 15:28:59 -07:00
Meisam and GitHub
2659dc3646
Hide viewer count when offline ( #1091 )
...
* Hide viewer count when offline
* cleanup
2021-06-10 10:59:51 -07:00
Meisam and GitHub
c77782cd35
inject custom style ( #1083 )
2021-06-07 13:53:25 -07:00
Meisam and GitHub
8b57ddcfb1
Remove config file migrator ( #1045 )
...
* rm migrator consts
* Delete migrator.go
* rm RunMigrations()
2021-05-23 13:36:34 -07:00
Meisam and GitHub
5c48ead518
Update video.css ( #1012 )
...
fix for issue #951
2021-05-13 12:02:57 -07:00