Commit Graph

30 Commits

Author SHA1 Message Date
Kyle Spier-Swenson
94673e4aa6 Removes database specifiers from sql queries. (#28839)
* Remove database specifiers from sql changelog entries.

Seriously, these default to the active database, and its not at all likely somebody will use the default name. /tg/ sure has hell doesn't.

* Remove database specifier from the schema

* Remove database specifiers from sql optimisations file

* Remove database specifier from the prefixed schema

* Add notes to CONTRIBUTING.md relating to schema changes
2017-06-26 16:05:55 +10:00
Jordie
d7bb5c626c conflict fix 2017-06-22 12:21:19 +10:00
Jordie
a69bb7f645 query for removing percentagecalc 2017-06-22 12:19:07 +10:00
Kyle Spier-Swenson
60bd733103 kor is a butt (#27883) 2017-05-30 17:53:02 -06:00
Leo
5f68f9183c Merge branch 'master' into hellotheremergeconflictsyouseemfamiliarhavewemetbefore 2017-05-27 22:26:15 -03:00
Jordie
f042d97448 Adds round table to replace tacking some data in feedback table (#27454)
* adds round table to replace tacking some data in feedback table

* removes obsolete code for acolytes_survived

* uses a better query

* corrects var name

* uses actual sql queries

* adds commit column and connected checks before queries
2017-05-26 22:17:44 +02:00
Jordie0608
7f09db7672 adds round id to ban table 2017-05-26 20:12:32 +10:00
Jordie
a823a1b698 Player byond account age stored in db (#26425)
set_client_age_from_db() and sync_client_with_db() have been merged. 
New clients are now added to the user table in a separate query than the one used to update their details upon connection; their player and account age is then calculated with DATEDIFF.
The code and regex used in findJoinDate() was changed a bit.
2017-05-04 20:13:35 -03:00
Jordie
cdce692c32 Update database_changelog.txt 2017-03-16 23:09:38 +11:00
Jordie
127d1f6daf Combines legacy_population and sanitizes death queries (#24914)
* combines admin and player pop count and sanitizes death queries

* renames proc

* removes proc call to sql_poll_admins

* add tox- clone- and staminaloss to death table

* adds ip and port to legacy_population

* null ip and cid handling for bans

* sans colons
2017-03-16 13:01:52 +01:00
Jordie
72a93bae7d Continues to add default sql indexes and table optimisations (#24456)
* adds default sql indexes and table optimisations

* fixes warnings

* edits to text and better update queries

* wrong table

* superior copypaste skills

* who has

* names

* that long

* add inet

* fix for badmins giving 2 billion brainloss

* fixes rank name and adds sanitizing
2017-02-27 22:44:26 +11:00
oranges
17a7c01e36 Revert "Adds default sql indexes and table optimisations" 2017-02-21 17:53:41 +13:00
Jordie
62da82fcd9 Adds default sql indexes and table optimisations (#24277)
* adds default sql indexes and table optimisations

* fixes warnings
2017-02-21 09:49:48 +13:00
Jordie
4a1adbad5f Unifed SQL message system (#23327)
* unifed sql message system to supersede notes, watchlist and memos and adds messages

* a neserseree change
2017-02-03 00:02:24 -06:00
Leo
5c35f47598 Improves the sql death report (#23513)
* Adds the map name and server to the death report.
Removed the `sql_report_cyborg_death()`, it was the same as `sql_report_death`.

* Changes the SQL schemas.
2017-02-03 10:36:31 +13:00
Jordie
4e3b001142 Adds note secrecy to allow hiding notes from non-admins (#20280)
* adds note secrecy to allow hiding notes from non-admins

* fixes not seeing own notes

* renames notes to notes memory

* notes secrecy defaults to 1

* prompt during note creation for note secrecy

* Update NewBan.dm

* Update topic.dm

* Update sql_notes.dm

* Update client_procs.dm

* webclient tabbing error fix

* made cid detector notes non-secret
2016-09-08 11:49:24 +02:00
Jordie
1002b7809c fixes sql command 2016-08-21 12:32:35 +10:00
Shadowlight213
0fb4757512 Fixes
Appearance_PERMABAN type removed. now a jobban
Added needed updating to the sql changelog
2016-08-19 13:31:15 -07:00
Jordie0608
c7f567e65a adds dontshow column to poll creation and schema 2016-07-03 17:25:26 +10:00
MrStonedOne
c37ae784e7 Adds local cache, doesn't check reconnects, fixes bugs 2016-06-16 21:04:52 -07:00
Jordie0608
895c52b649 in game interface for creating server polls 2015-09-21 16:37:21 +10:00
Jordie0608
62fa9a163c interface for watchlist, improvements to memo, varedit, ban interfaces 2015-08-27 20:57:01 +10:00
Jordie0608
e2d3488f7f database notes 2015-08-15 22:24:24 +10:00
Jordie0608
f7489b18af memo update 2015-07-28 21:42:25 +10:00
Jordie0608
f7b66edb17 migrates admin memos to use database 2015-07-19 17:01:38 +10:00
MrStonedOne
2ff906a888 Removes privacy poll, part5: database_changelog.txt 2015-07-07 07:07:26 -07:00
Jordie0608
3a02fca66c error fix, adds prompt for editing/removing entries and sql schema stuff 2015-05-19 05:13:07 +10:00
MrStonedOne
94f11b6c1f Defaults to no prefix now.
Also fixes a few things i forgot (like actually changing the schema)
2014-09-19 21:54:48 -07:00
MrStonedOne
e21ed011af Fixes some erros in the database system
Replaces erro_ with a configurable table prefix system
Defaults to erro_ if not configured, but configuation files default to SS13_
2014-09-19 13:37:58 -07:00
errorage
b60526ca10 - Adds the framework that allows soft-deleting books from the library. 2013-11-04 23:46:46 +01:00