Commit Graph

48 Commits

Author SHA1 Message Date
Jordie
a69bb7f645 query for removing percentagecalc 2017-06-22 12:19:07 +10:00
Jordie
478ca26d54 removes percentagecalc column 2017-06-22 12:15:16 +10:00
Jordie
90ad0905d2 removes percentagecalc column 2017-06-22 12:14:42 +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
601d0f4a68 Rework of queries to address mysql bug (#24704)
* rework of queries to address mysql bug

* minor change
2017-03-07 10:52:43 +01:00
Jordie
fe42f623dc more query fixes 2017-03-03 17:21:19 +11:00
Jordie0608
97733d8dcf fixes poll_question 2017-02-27 23:58:18 +11: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
MrStonedOne
2366eb1a20 PUTS NIKNAK OUT OF A JOB! 2016-06-16 21:04:50 -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
33d7be7351 Removes privacy poll, part6: errofreedatabase.sql 2015-07-07 07:13:21 -07:00
MrStonedOne
2ff906a888 Removes privacy poll, part5: database_changelog.txt 2015-07-07 07:07:26 -07:00
MrStonedOne
2c24e3385e Removes privacy poll, part4: tgstation_schema_prefixed.sql 2015-07-07 07:04:40 -07:00
MrStonedOne
7bc8727d71 Removes privacy poll, part3: tgstation_schema.sql 2015-07-07 07:03:21 -07:00
Jordie0608
d079104e05 fixes schema and send2irc message 2015-06-24 16:54:59 +10:00
Jordie0608
3a02fca66c error fix, adds prompt for editing/removing entries and sql schema stuff 2015-05-19 05:13:07 +10:00
Matt Smith
4786884917 Add DB index
Compliments #6555
2015-01-12 23:15:09 +00: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
Rockdtben
3d0d5b4fb2 Fixed some issues with the DB admin system
-erro_admin_ranks table did not exist
-passing a string in to admin new instead of a rank.
2014-03-29 16:56:42 -05:00
errorage
b60526ca10 - Adds the framework that allows soft-deleting books from the library. 2013-11-04 23:46:46 +01:00
Daniel Mohr
ee90b4832e Fixed SQL PRIMARY KEY (id) Errors 2013-07-01 16:41:29 +02:00
errorage
1b719c2e31 Database related fixes:
- Fixes the following SQL error:
[13:44:09]GAME: SQL ERROR during death reporting. Error : [Table 'ss13.death' doesn't exist]
The issue was with cyborg death logging, which was not updated properly to log into the correct table.
- Fixed the SQL schema so it properly logs deaths and the legacy_population thing (which logs how many admins and players were on every 5 minutes). If you already have a database set up and don't want to completely wipe it (Let's be honest, you really don't want to do that), look at this thread for help in updating the database properly: http://www.ss13.eu/phpbb/viewtopic.php?f=6&t=194
2013-06-27 23:17:39 +02:00
errorage
2769c13edb - Minor fix to the schema file. 2013-04-21 19:39:33 +02:00
errorage
8a8a516773 - Updates library table definition
- Adds a ckey and datetime column to the library table so we can finally see who is uploading all the exploitive books.
2013-04-21 19:35:42 +02:00
Pete Goodfellow
dffba3c827 Apologies in advanced for cramming this all into one commit, but it's all fairly interdependent.
Removes the old tgstation database. It has been merged into the newer feedback database.
All mentions of the old database have been replaced with the new one.
This includes updating tgstation_schema.sql and dbconfig.txt.

Removes README feedback.txt as it is now covered by the new schema.

Removes the unused forum DB stuff, including forumdbconfig.txt.
Updates the config, including both config.txt and game_options.txt. Many options have been moved into the latter.
Updates configuration.dm to reflect these changes.

Removes the config var/feature_object_spell_system as it did nothing.
2013-03-24 18:34:00 +00:00
baloh.matevz@gmail.com
ecad5024c3 - Finally committing the schema for the feedback database.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4909 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-18 12:09:47 +00:00
quartz235@gmail.com
b3f7865754 moving all the git stuff over to this so people who don't want to spend 8 years figuring out the bass ackward git system can actually run our server code
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2983 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-25 05:05:55 +00:00
only.lurking@gmail.com
162b1c5157 Added a schema script for setting up the SQL database.
Removed a few Goon-flavored default messages in favor of something more culture-neutral.
Removed a hardcoded mention of my name in one of the error messages broadcast to the end user.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@25 316c924e-a436-60f5-8080-3fe189b3f50e
2010-08-30 00:49:00 +00:00