3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00
Commit Graph

1369 Commits

Author SHA1 Message Date
reality
b77644d1d4 Fixes for config path in some place [#489] 2013-06-04 00:10:12 +00:00
reality
a25620bf9e recursively call showconfig [#489] 2013-06-04 00:06:41 +00:00
reality
4a7fcd57b3 Module config now loaded from config.json , rleloaded upon reloading and various module changes to make it work right [#474] [#489] 2013-06-03 23:00:23 +00:00
reality
17070adcb6 ~notify command 2013-06-02 13:34:51 +00:00
reality
71b9e482c1 move rq to new interpolatedquotes api 2013-06-01 19:38:44 +00:00
reality
ec0c4ad781 merge of terror #2 2013-06-01 17:57:07 +00:00
reality
39c298037d fix string syntax error 2013-06-01 17:01:24 +00:00
reality
dffdf7486f update submodules 2013-06-01 16:46:57 +00:00
Roi
505d69ef73 German translations 2013-06-01 16:16:24 +00:00
reality
b4581b1995 remove extra head 2013-06-01 15:55:48 +00:00
reality
a01438a879 worst merge 2013 eu 2013-06-01 15:55:09 +00:00
reality
0d67f12991 trim quote keys 2013-05-30 08:15:32 +00:00
reality
90d77e4c67 Merge branch 'master' of github.com:reality/depressionbot 2013-05-30 04:14:07 +00:00
reality
553d3afccc user interpolation for quotes 2013-05-30 04:13:54 +00:00
Luke Slater
5eb4502aa5 Merge pull request #485 from ODyckhoff/master
Welsh Translations
2013-05-29 12:32:20 -07:00
reality
7303fd6a01 update stats 2013-05-29 18:41:42 +00:00
reality
378d3da0f0 update github 2013-05-29 13:00:00 +00:00
Sam Nicholls
742774fbfe Touch spotify README 2013-05-29 13:40:01 +02:00
Owen Dyckhoff
62700862e4 Completed users module Welsh translations in strings.json 2013-05-29 13:03:11 +02:00
Owen Dyckhoff
d825499651 I cannot be trusted with quotation marks. 2013-05-29 12:48:10 +02:00
Owen Dyckhoff
2cbf862434 Completed spotify module Welsh translations in strings.json 2013-05-29 12:46:47 +02:00
Owen Dyckhoff
9d709cd42a Completed report module Welsh translations in strings.json 2013-05-29 12:38:50 +02:00
Owen Dyckhoff
755099c5ee Closed a quotation mark that I missed >.> 2013-05-29 12:23:19 +02:00
Owen Dyckhoff
1869e82b45 Completed reddit module Welsh translations in strings.json 2013-05-29 12:21:48 +02:00
reality
080770768d syntax error in admin strings 2013-05-28 22:30:24 +00:00
reality
2ca2cc01d0 missing comma in quotestrings 2013-05-28 22:28:13 +00:00
Owen Dyckhoff
5856dcb415 Completed rain module Welsh translations in strings.json 2013-05-29 00:05:53 +02:00
Owen Dyckhoff
84645dae93 Completed quotes module Welsh translations in strings.json 2013-05-28 23:50:49 +02:00
Owen Dyckhoff
ff9532d503 Completed project module Welsh translations in strings.json 2013-05-28 23:13:16 +02:00
Owen Dyckhoff
5be4c5e9e7 Completed link module Welsh translations in strings.json 2013-05-28 22:17:07 +02:00
Owen Dyckhoff
1b834c16ce Completed kick module Welsh translations in strings.json 2013-05-28 22:11:55 +02:00
Owen Dyckhoff
f576a9074a Completed imgur module Welsh translations in strings.json 2013-05-28 21:57:20 +02:00
Owen Dyckhoff
0234d7a52a Corrected Welsh spelling error and substituted more appropriate word in admin module strings.json 2013-05-28 21:55:27 +02:00
Owen Dyckhoff
d0205e0468 Completed ignore module Welsh translations in strings.json 2013-05-28 21:53:16 +02:00
Owen Dyckhoff
6ad4b1976b Completed dns module Welsh translations in strings.json 2013-05-28 21:24:41 +02:00
Owen Dyckhoff
19332bf1d5 Completed command module Welsh translations in strings.json 2013-05-28 21:14:13 +02:00
Owen Dyckhoff
b0852c2fac Completed admin module Welsh translations in strings.json 2013-05-28 20:09:32 +02:00
reality
150821cbb3 fix db pointer for imgur olDB 2013-05-28 17:40:25 +00:00
reality
3726be64b7 yee 2013-05-27 17:48:36 +00:00
reality
429eafd8e4 banOutput option in command [#460] 2013-05-27 17:45:30 +00:00
reality
e1ea156a41 merge udFallback into database branch [#477] 2013-05-27 17:33:10 +00:00
reality
d5a4b288f7 udFallback option for quote retrieval [#477] 2013-05-27 17:16:23 +00:00
reality
7e4ae2460a Automatic callback for ~ajs [#476] 2013-05-26 20:24:05 +00:00
reality
e7605e0c0e Merge git://github.com/reality/depressionbot into database 2013-05-26 17:20:49 +00:00
reality
0cb8147abb improve imgur linkhandler efficiency by using only one callback and link name feature [#475] 2013-05-26 17:19:25 +00:00
reality
3afb53939a Get gallery info depending on if it is an image or album [#475] 2013-05-26 17:10:21 +00:00
reality
18e6053399 Support for imgur album data [#475] 2013-05-26 16:55:45 +00:00
reality
d8191c8232 Update install.sh modules and update web docs [#464][#351] 2013-05-26 15:49:44 +00:00
reality
1ce4b05932 documentation for the spotify module 2013-05-26 15:38:48 +00:00
reality
3148b3e434 document new command config features [#467][#351] 2013-05-26 14:16:56 +00:00
reality
9847a05301 Add accessOutput command to tell users when they are not authorised to run a command [#467] 2013-05-26 14:14:01 +00:00
reality
d9850d19d5 fix some more mergeuser issues [#470] 2013-05-26 13:29:21 +00:00
reality
f69f999118 fix various mergeusers hooks [#472] 2013-05-26 13:11:09 +00:00
reality
5dddae4f00 mergeChannelUsers internal API function in users + mergeusers seems to be working [#470] 2013-05-26 12:37:37 +00:00
reality
2fc5fc6992 remove command hooks [#471] 2013-05-25 22:09:07 +00:00
reality
5bf6088453 fix command emit on reload 2013-05-25 21:34:11 +00:00
reality
b71c9e4504 link dependency for status 2013-05-25 21:06:32 +00:00
reality
712db49274 Merge github.com:reality/depressionbot into database 2013-05-25 21:05:45 +00:00
reality
1e2a823ef2 Initial logging module [#336] 2013-05-25 19:13:35 +00:00
reality
9792daf669 syntax error.. 2013-05-23 12:16:43 +00:00
reality
06c14d4fc5 imgur info string [#462] 2013-05-23 12:15:25 +00:00
reality
27ace10fe9 new outputprefixes 2013-05-22 17:37:07 +00:00
reality
6b15463657 fuck you 2013-05-22 17:28:13 +00:00
reality
3eee7b6de2 fix syntax error in link.config 2013-05-22 17:27:40 +00:00
reality
61bd1312a6 Fix fucking async hell and add getAllChannels 2013-05-21 20:17:22 +00:00
reality
e8757347ba eventsdocumentation in users [#351] 2013-05-21 18:39:11 +00:00
reality
a140c19483 blue link 2013-05-21 18:32:59 +00:00
reality
66cd7b757a Merge github.com:reality/depressionbot into database 2013-05-21 17:48:42 +00:00
reality
818f6937ef string output for autoTitle 2013-05-21 17:48:31 +00:00
reality
77eec1e07f merge 2013-05-21 17:47:02 +00:00
reality
1f426fa722 prefix for link [#462] 2013-05-21 17:45:58 +00:00
reality
eb4e788b5c fix merge 2013-05-21 17:31:01 +00:00
reality
36d40f65a3 Support for config.outputPrefix [#462] 2013-05-21 17:13:19 +00:00
reality
11b23ffc85 fix for the bug with infostring i introduced fixing undefinedxundefined 2013-05-21 16:05:20 +00:00
reality
90d34f3aa4 Merge github.com:reality/depressionbot into database 2013-05-21 15:59:21 +00:00
reality
0daa08b401 Merge branch 'master' of github.com:reality/depressionbot 2013-05-21 14:54:13 +00:00
reality
33bd617a4f Fix spotify formatting mess [Close #459] 2013-05-21 14:52:46 +00:00
Douglas Gardner
39a10c131a Add CTCP commands.
Add a few more basic CTCP commands, notably CLIENTINFO, telling one what
commands dbot supports.

Fixes/goes towards fixing #268.
2013-05-21 13:20:26 +00:00
reality
6d9f3b644c fix ~rmdeny and add web route /quoteremovals [#455] 2013-05-20 19:51:09 +00:00
reality
0bc0a1bdb7 quote add for db branch in imgur 2013-05-20 15:40:13 +00:00
reality
48ce88490d Merge github.com:reality/depressionbot into database 2013-05-20 15:35:42 +00:00
reality
648b44b298 fix add on empty cat 2013-05-20 15:35:01 +00:00
reality
b3d2b89734 Merge github.com:reality/depressionbot into database 2013-05-20 15:27:22 +00:00
Luke Slater
5fd7e2ca50 Merge pull request #451 from zuzak/borkborkbork
Add tracking for a certain hash
2013-05-20 08:27:10 -07:00
reality
388d51278d Merge github.com:reality/depressionbot into database 2013-05-20 15:25:21 +00:00
reality
d77565a04a fix link title 2013-05-20 15:24:24 +00:00
Douglas Gardner
7303cfccf3 Correct accidental Italian accent in admin module 2013-05-20 15:23:11 +00:00
Douglas Gardner
be1ea0acde Adding config option to auto-add hashes to qdb
This should be useful for keeping track of certain massively duplicated
images.
2013-05-20 15:18:19 +00:00
reality
4e53a06e75 Merge github.com:reality/depressionbot into database 2013-05-20 15:05:30 +00:00
reality
1f1287554f ~syt command to get a spotify link from a youtube link 2013-05-20 15:05:00 +00:00
reality
329a0df7fb Merge branch 'master' of github.com:reality/depressionbot 2013-05-19 10:49:02 +00:00
reality
3849df921c update docs for imgur with web routes [#445] and config options [#352] 2013-05-19 10:48:24 +00:00
reality
3541534b76 this should fix [#453] 2013-05-19 09:52:14 +00:00
reality
449ad684ad More quotes docs updates [#351] 2013-05-17 17:57:21 +00:00
reality
e8c2db5488 Update documentation for users [#351] 2013-05-17 17:23:39 +00:00
Douglas Gardner
5fd2a3923f Add tracking for a certain hash
This is a fairly simple hack to record any imgur URLs discovered via the
random image facility that match a certain MD5 hash.

A known bug with this commit is that it may crash the bot the first time
the bot tries to add to the database, as the category is undefined. This
can be easily worked around by ensuring that the category is
prepopulated with at least one image before letting the bot add
automatically.

An issue should probably be opened to merge this code into something
reading hashes from a configuration file: it's pretty hardcoded at the
moment.
2013-05-17 17:04:53 +00:00
reality
6dfa5de478 youare doesnt need snippets [#135] 2013-05-17 17:04:19 +00:00
reality
1e52809e06 nickserv thing 2013-05-17 16:57:47 +00:00
reality
ffec54ffe2 reload 2013-05-17 16:33:04 +00:00
Luke Slater
8f2cc5bd4d Merge pull request #303 from zuzak/rc
Add UDP packet functionality
2013-05-17 09:30:53 -07:00
reality
1e01aeb146 load the right route api 2013-05-17 14:15:59 +00:00
reality
0a8ad1e468 syntax error 2013-05-17 14:15:15 +00:00
reality
5da4d88ad9 api root in onLoad 2013-05-17 14:13:42 +00:00
reality
1127d11a0e undo thing 2013-05-17 14:10:43 +00:00
reality
086d4be6ab i think adding a this.pages breaks it 2013-05-17 13:58:44 +00:00
reality
d285aab97c Merge branch 'borkborkbork' of https://github.com/zuzak/depressionbot 2013-05-17 13:53:21 +00:00
Douglas Gardner
7578382bee Add basic hashing functionality to imgur
* There is probably a much nicer way of doing it (perhaps a better
  hash)?
* Added a counter to the imgur random page counting the number of
  [Facebook Monopoly Men](http://i.imgur.com/3Tt6N.gif).
* Added the md5sum of the current image to the getRandomImage api call.
* Future functionality might be storing every image md5 in an array and
  counting duplicates, instead of the current check-against-known-dupes.
2013-05-17 13:50:35 +00:00
reality
df2b484a66 merge 2013-05-17 13:32:41 +00:00
reality
15fd9c32e4 Initial go at [#448] 2013-05-17 13:29:28 +00:00
reality
33f8b21edd config rather than currentOption 2013-05-17 12:02:38 +00:00
reality
f4f34d2852 documentation for imgur [#352] 2013-05-17 11:28:04 +00:00
reality
da3e99dd90 ffs 2013-05-17 10:00:39 +00:00
reality
7713169721 help for api module [#352] 2013-05-17 09:59:25 +00:00
reality
28825fd22b clean [#261] up enough for 0.4 2013-05-17 09:06:55 +00:00
reality
53b7bbe5a8 kickcount and kickstats do not need elevated access [#261] 2013-05-17 08:58:11 +00:00
reality
be7d5a41cd use current channel if no admin channel defined [#261] 2013-05-17 08:52:24 +00:00
reality
2b57300f65 Fix [#443] 2013-05-17 08:15:16 +00:00
reality
9d03364a23 merge [#439] 2013-05-17 07:40:46 +00:00
reality
be23d97293 [ 2013-05-17 07:35:21 +00:00
reality
eac0083bea Build help link automatically [#439] 2013-05-17 07:34:25 +00:00
reality
84bd092bae Fix [#442] 2013-05-17 07:04:57 +00:00
reality
cb0956405f Merge git://github.com/reality/depressionbot into database 2013-05-17 07:01:29 +00:00
reality
1cc99d02e1 ] 2013-05-13 18:21:50 +00:00
reality
ccc962d9f2 update admin docs [#351] 2013-05-10 18:38:57 +00:00
reality
41ec896dfc Merge git://github.com/reality/depressionbot into database 2013-05-10 18:13:41 +00:00
reality
0259584c25 savemodules command [#438] 2013-05-10 18:12:40 +00:00
reality
9fc95cdd04 flashy dox[#351][#352] 2013-05-10 12:11:32 +00:00
reality
15e6b039b9 add link to nickserv dox[#352] 2013-05-10 11:48:52 +00:00
reality
cef60ccb64 docs for nickserv module [#351][#352] 2013-05-10 11:45:38 +00:00
reality
b46f72a409 nban should work goodly now 2013-05-07 14:23:37 +00:00
reality
cdfe353b94 more shit i cant be bothered to finish yet on [#261] 2013-05-06 21:56:45 +00:00
reality
80b586ba60 Fix access control [Close #436] 2013-05-06 21:49:45 +00:00
reality
e8537a93b2 Remove leading slash in url api maker [#435] 2013-05-06 20:09:19 +00:00
reality
5b0f4d3ae8 finish off poll using new users api [#434] 2013-05-06 20:00:31 +00:00
reality
75a909df64 Poll web interface now working [#420] 2013-05-06 19:43:14 +00:00
reality
33b9b8d1b0 poll web list works [#420] some commands using new users [#434] 2013-05-06 18:12:25 +00:00
reality
9db515d44a Fix [#433] 2013-05-06 15:53:42 +00:00
reality
da5e79ebeb Efficiency improvements in users, return of isKnownUser API function [#331] 2013-05-02 18:25:10 +00:00
reality
e426f4fae9 bump github 2013-05-01 19:53:37 +00:00
reality
571d132d70 bup github 2013-05-01 19:52:48 +00:00
reality
9cf6769da5 Merge git://github.com/reality/depressionbot into database 2013-04-30 19:36:44 +00:00
reality
3097683e1c Automatically look for modules with root indexes and show those on the index [Close #427] 2013-04-30 19:33:26 +00:00
reality
22704a2158 move dbot.cleanNick to quotes.internalAPI.cleanRef [#270] 2013-04-30 17:19:23 +00:00
reality
4891b70ec3 merge [#307] 2013-04-30 16:47:47 +00:00
reality
2afb1c6ba3 Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
reality
7c31d5bbe8 Remove a bunch of useless users API functions, finish documentation [#352] 2013-04-30 14:04:21 +00:00
reality
88c51209af mergy mergy 2013-04-30 13:53:16 +00:00
Douglas Gardner
ec300756aa Merge branch 'master' of https://github.com/reality/depressionbot into borkborkbork
Conflicts:
	views/project/project.jade
2013-04-30 09:47:01 +00:00
Douglas Gardner
da0fcb4602 bump github; fix user agents; tweak egg 2013-04-30 09:45:05 +00:00
reality
a51bcb483a update github 2013-04-30 09:45:05 +00:00
reality
2e60f4e600 command can use nickserv [#421] 2013-04-30 09:45:04 +00:00
reality
301178cc81 nickserv module in master 2013-04-30 09:45:01 +00:00
Douglas Gardner
63b4b3aa9c dd french translations 2013-04-30 09:41:24 +00:00
Douglas Gardner
a6569e0dbd fix missing string 2013-04-30 09:40:49 +00:00
Douglas Gardner
24d7ad310b Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-30 09:40:42 +00:00
reality
5627172087 bump github 2013-04-30 09:38:25 +00:00
reality
04b0387fca command can use nickserv [#421] 2013-04-30 09:38:24 +00:00
reality
35cd8eb19a nickserv module in master 2013-04-30 09:38:24 +00:00
reality
91a229453c fix syntax error in project strings 2013-04-30 09:38:21 +00:00
Douglas Gardner
b31ca20d92 Moved admin strings to json
* Moved strings from hardcoded ``admin/commands.js`` to
  ``admin/strings.json`` to aid translation
* Bump total string count to a rather large number
* Tidy some JS I noticed whilst in the vicinity
2013-04-30 09:37:32 +00:00
Luke Slater
0c9936dce2 Merge pull request #425 from zuzak/easter
bump github; fix user agents; tweak egg
2013-04-27 07:33:08 -07:00
Douglas Gardner
738fa2f7b0 bump github; fix user agents; tweak egg 2013-04-26 15:08:07 +00:00
reality
ccd1f24104 update github 2013-04-26 12:07:33 +00:00
reality
f2833d520f bump github 2013-04-24 20:51:01 +00:00
reality
40583ed7a3 bump github 2013-04-24 20:49:44 +00:00
reality
9625f1d316 merge with master, command uses nickserv auth in db [#421] 2013-04-24 20:45:20 +00:00
reality
f129c36f5e command can use nickserv [#421] 2013-04-24 12:54:20 +00:00
reality
b9a9866e5e nickserv module in master 2013-04-24 12:54:19 +00:00
reality
8475aa46e8 command can use nickserv [#421] 2013-04-23 19:07:23 +00:00
reality
c37e9cded7 nickserv module in master 2013-04-23 18:48:41 +00:00
reality
9f211c4da0 Module and API function to check nickserv authentication. [#421] 2013-04-23 18:27:25 +00:00
reality
639022fa55 Merge github.com:reality/depressionbot into database 2013-04-23 17:28:50 +00:00
reality
218509b786 fix syntax error in project strings 2013-04-23 17:28:26 +00:00
reality
41f4a830b2 Fix quotes web component [Close #419] 2013-04-23 17:26:44 +00:00
Douglas Gardner
3f5bf0e5a5 Fix typographical error
The strings.json for the project module was malformed. This commit
rectifies the issue
2013-04-23 00:37:04 +00:00
Douglas Gardner
75e03c15b7 add french translations 2013-04-23 00:37:04 +00:00
Douglas Gardner
fe57328e3d fix missing string 2013-04-23 00:37:04 +00:00
Douglas Gardner
ec450e4070 Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-23 00:37:04 +00:00
reality
cca4fadc42 Merge git://github.com/reality/depressionbot into database 2013-04-22 19:37:44 +00:00
reality
f98f7e435a that should be all of the dependencies [#413] 2013-04-22 16:20:17 +00:00
reality
099d278cbc dont add quotes that already exist [#331] 2013-04-22 15:50:05 +00:00
reality
f905c58877 Fix setconfig, showconfig and pushconfig from being confused by false values [#331] 2013-04-22 14:46:30 +00:00
reality
5eba864f22 fix imgur for now 2013-04-22 14:38:03 +00:00
reality
8e8953999d Various database branch fixes [#331]:
* Admin module doesn't try to use reload string when it's not there.
* Fix dent event hookin
* Fix quote retrieval (two ~q definitions and no false check before interpolate)
* Change databankerised modules to use redis for testing
2013-04-22 14:22:35 +00:00
Douglas Gardner
09120f06db add french translations 2013-04-21 20:44:41 +00:00
Douglas Gardner
af8c11fd86 fix missing string 2013-04-21 20:28:51 +00:00
Douglas Gardner
5322ec52bf Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-21 20:14:37 +00:00
Douglas Gardner
ce4e69bdd3 bought project module back up to speed
* Added check that ``dent`` was loaded before looking for related
  configuration settings.
* Fixed ``h3``s that should have been ``h2``s, and ``h4``s that should
  have been ``h3``s
* Added larger margins for headings
* Forced the ``td``s of the translations table to be their normal
  capitalisation
* Readded some translations
* Fixed links to repos
* Fixed links to issues
* Reimplemented configList
2013-04-21 16:34:26 +00:00
reality
c5fb52a4a7 Merge git://github.com/reality/depressionbot into database 2013-04-21 16:23:55 +00:00
Douglas Gardner
17e9e73617 use true translation metrics
We were on magnetic translation befoe
2013-04-21 16:12:14 +00:00
reality
840f110317 Merge pull request #403 from SamStudio8/database
Profile onLoad check [#331][Close #398]
2013-04-21 08:13:27 -07:00
Sam Nicholls
0ccd0c6301 Profile onLoad check [#331][Close #398] 2013-04-21 16:10:24 +01:00
Douglas Gardner
151d0e6fcb Add translations; toggle lowercase; remove testCSS 2013-04-21 14:53:04 +00:00
reality
65b410416c Module loader properly iterates all automatically loaded dependencies [#399] 2013-04-21 14:51:59 +00:00
reality
420d40c848 Merge pull request #400 from SamStudio8/database
Check getProfile read was successful
2013-04-21 07:31:36 -07:00
Douglas Gardner
ad3e597ad2 update translation information
* Remove commented out code
* Covert translationProgress from an array to an object
* Enlargen progress meters
* Add translation table
2013-04-21 14:28:33 +00:00
Sam Nicholls
3130350f58 Check getProfile read was successful 2013-04-21 15:27:08 +01:00
reality
5aaa9f8856 additional channels are added to user records from 366 event [#331] 2013-04-21 14:17:29 +00:00
reality
0d76ce4166 switch users to use redis driver [#331] 2013-04-21 14:11:35 +00:00
Douglas Gardner
47d5404f38 Add beginnings of translation progress API
* Add totally legit and optimised code to find the number of strings in
  each language.
* Add this as an API call
* Add strings for ``na'vi``, ``es`` and ``nl`` for their own language
  names
* Optimise CSS a bit
* Add classes for the languages, for testing purposes
2013-04-21 12:18:24 +00:00