not manx
4b7cf9eead
whitespace
5 years ago
not manx
a38bab1f99
update environment files
5 years ago
C-xC-c
dda1e2f26e
bump version
5 years ago
C-xC-c
baa1154898
bump version
5 years ago
C-xC-c
5e14110b6c
no longer set all 4chan boards to /bant/
5 years ago
C-xC-c
af65b7fd1d
Replace ResultT with a tuple.
...
Result<T> is a fundamentally good idea, but just doesn't fit into bantflags properly. We don't implement the other functional extensions that would make it useful, and our use case is so small that the extra safety we get isn't worth the code complexity. It was just used as a wrapper around a tuple like (T thingWeVerifyAgainstBusinessLogic, bool failed, string errorMessage), and we can ignore the bool by using default and checking for null. Less code, easier to read.
5 years ago
C-xC-c
0d2551bc92
Delete the GreaseMonkey 4 version of the script since we don't need it anymore.
...
Since we only rely on awaiting a promise once, and all other differences between the scripts are just function identifiers, we can check for the version of GreaseMonkey at runtime, choose the correct functions and wrap the one async call in an if statement. These 15 or lines of code mean I don't have to maintain two scripts anymore.
5 years ago
C-xC-c
2fb5794020
Fix Romania not shaking on Firefox.
5 years ago
C-xC-c
5ec1629637
Minor code cleanup.
5 years ago
C-xC-c
184293b5e8
Update README.org
5 years ago
C-xC-c
107214eea9
Create upload.org
5 years ago
C-xC-c
65c5ca0b7c
Create flags.org
5 years ago
C-xC-c
50c5a618c8
Create post.org
5 years ago
C-xC-c
01a29de0c5
Update get.org
5 years ago
C-xC-c
63464bb7c7
New flag select with flag previews.
...
Basically makes the select consistant across all browsers, since I've just coppied what old FireFox does.
5 years ago
C-xC-c
421fcdca5c
Create GreaseMonkey4 compatible script. Add JSDoc strings to most functions.
...
The script also checks to see if you have the wrong version of bantflags for your userscript manager. Some general improvements to posting flags on 4chan.
5 years ago
C-xC-c
d6b0a2af84
Fix an issue with nsetup.init() being called multiple times on nodeguca.
...
Also I've been calling nodeguca goguca for a week.
5 years ago
C-xC-c
eaf0a8b703
Properly actually support goguca no but for real this time.
...
Technically breaking changes for GreaseMonkey version 1.x hence the minor version bump but I don't think anyone actually still uses it and the script is built on features that because standard in browsers after GM 2.
5 years ago
C-xC-c
3493381501
Generate flagsForm on index. Update board_id when moving between /nap/ and /srsbsn/
5 years ago
C-xC-c
b88d8ac8ab
Fix issue with hovering over posts
5 years ago
C-xC-c
fdcd8e2e8e
Create LICENSE
5 years ago
C-xC-c
96844fd583
Add license notice to the top of each file.
5 years ago
C-xC-c
23b8a3fb79
Properly identify foolfuuka.
5 years ago
C-xC-c
6424edd450
More generally support different board softwares.
5 years ago
C-xC-c
122009c4c5
Move valid boards to appsettings.
5 years ago
C-xC-c
f38f0125d7
Remake the flag select form whenever you enter a thread.
5 years ago
C-xC-c
223de6f473
Update to fix moving between index/catalogue
5 years ago
C-xC-c
50e3d7c2b8
Bump version.
5 years ago
C-xC-c
e543e31617
Add support for /nap/.
5 years ago
C-xC-c
f3bc243690
There were some bugs.
5 years ago
C-xC-c
dc88b5ccf1
Rewrite the upload page.
5 years ago
C-xC-c
4f1fceadcd
haha I'm smart
5 years ago
C-xC-c
69ad2fe189
Merge branch 'master' of https://github.com/C-xC-c/BantFlags
5 years ago
C-xC-c
fe771d8bbe
Rename FlagModel to PostModel. Introduct Result<T> class to handle creation of PostModel objects instead of using a tuple.
5 years ago
C-xC-c
6e45d0aaa9
Update get.org
5 years ago
C-xC-c
c66bc732af
Enforce anti-forgery keys in Appdomain.CurrentDomain.BaseDirectory
5 years ago
C-xC-c
d196c55a12
Update README.org
5 years ago
C-xC-c
28293ecdb9
fix merge
5 years ago
C-xC-c
014b889772
Properly validate posts added to the database from the API
5 years ago
C-xC-c
f8afd797df
unbreak removing flags
5 years ago
C-xC-c
9c28308fb6
wording
5 years ago
C-xC-c
ebb982a00b
Invented a new variety of spaghetti //
...
Made a form for adding and modifying flags.
5 years ago
C-xC-c
851337c018
tree => blob
5 years ago
C-xC-c
1b1f0ff062
Move database.sql to Environment and add link in readme
5 years ago
C-xC-c
edfcb96e1b
I am not very smart.
5 years ago
C-xC-c
23f64dc13b
Merge branch 'master' of https://github.com/C-xC-c/BantFlags
5 years ago
C-xC-c
12d5ebf5c8
published with localhost and debugMode oops
5 years ago
C-xC-c
14283af8fb
Update README.org
5 years ago
C-xC-c
b23261598b
Add support for /api/get and api/post V2. increase max flags to 24 + 1 and enforce server side.
5 years ago
C-xC-c
1787fb824c
Add example systemd service
5 years ago