root / branches / phpBB-3_0_0 / phpBB / includes / acp / acp_database.php

View | Annotate | Download (55.8 KB)

  • svn:eol-style: LF
  • svn:keywords: Author Date Id Revision
# Date Author Comment
10174 09/21/2009 06:59 PM Meik Sievertsen

Ok, the oracle database backup never actually worked at all. We used the wrong delimiter, did not preserve correct sequence order, did not merge primary keys and uniques... i think no one ever tried to actually restore an oracle backup.

Fix all of this.

9928 08/05/2009 02:05 PM Andreas Fischer

Fix Bug #48955 - Correctly extract column default value when exporting PostgreSQL tables.

9773 07/17/2009 04:39 PM Andreas Fischer

Small change to r9765, Bug #47495

9765 07/17/2009 10:11 AM Andreas Fischer

Fix bug #47495 - Move hardcoded language string to language file.

9598 06/16/2009 02:14 PM Meik Sievertsen

Fix Oracle database backup (Bug #46715)

9417 03/30/2009 01:52 PM Meik Sievertsen

Prevent incomplete backups stored if option "store and download" is selected and admin cancel download by removing the option. (Bug #20325)

9416 03/30/2009 01:32 PM Meik Sievertsen

Sort backups by date, newest first (Bug #14818)

8814 09/04/2008 02:01 PM Meik Sievertsen

Ok, story real database server info, as well as caching it
Store it on installation too - allows us to check the db version used on installation and used currently to warn the user about incompatibilities

8647 06/11/2008 05:29 PM Meik Sievertsen

hmm

8525 04/21/2008 05:02 PM Meik Sievertsen

#24245

8511 04/20/2008 08:29 AM David M

#22385

8479 03/29/2008 01:22 AM Nils Adermann

Hiding everywhere little buggers, eh?

8472 03/26/2008 06:27 PM Henry Sudhof

#22385 - David told me to ci this

8285 12/26/2007 03:53 PM

This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.

8147 10/05/2007 04:36 PM Meik Sievertsen

dumdidum... sorry. ;)

7893 07/16/2007 03:06 AM David M

#13463
- tiny issue with get_tables()

7531 05/11/2007 11:22 PM David M

#10785

7530 05/11/2007 10:53 PM David M

#10715

7479 05/05/2007 11:47 PM David M

I knew I forgot something :P

7472 05/05/2007 03:43 PM David M

#10495

7293 04/07/2007 05:45 AM David M

#9662

7279 04/04/2007 07:06 AM David M

#9601

7255 04/01/2007 02:39 PM David M

- PostgreSQL can now use schemas. During install, under database name, enter databasename.schema
- phpversion() to PHP_VERSION

7141 03/07/2007 04:27 AM David M

- Avoid creating backups that we can't restore :)

7050 02/24/2007 11:20 AM Meik Sievertsen

adding @package tag which is required for all classes.

7016 02/19/2007 09:57 PM David M

forgot to actually commit it :P

7006 02/18/2007 12:40 AM David M

- IE7 should now work too

6999 02/17/2007 05:53 AM David M

- used wrong heuristic to measure if we were done, using a different one now.

6997 02/17/2007 04:20 AM David M

- finally fixed this one, IE has a bug that makes puppies cry.

6994 02/16/2007 09:37 PM David M

- some stupid bugs

6993 02/16/2007 05:31 AM David M

- small mistake :-(

6991 02/16/2007 05:20 AM David M

#8154

6990 02/16/2007 01:46 AM David M

#8146
- came up with an alternate chunking algorithm, it does not require additional calls to seek (it reads exactly what it needs to and does not need to look at the same piece of data twice) and may or may not be more optimal than the previous chunking algorithm (may be faster, may use more memory). For this reason, it is only used when the stream is not seekable (bzip2 is the only format that is not seekable)

6989 02/15/2007 10:51 PM David M

#8144

6988 02/15/2007 09:30 PM David M

#7570
#7232
- pretty much rewrote backup/restore. whatever is not new code is refactored. Download now works properly with gzip on the fly, bzip2 is still very much not on the fly ( will to take suggestions on this ). Should never hit any memory issue. Loads of bug fixes, tested with every DB we support

6984 02/13/2007 01:14 AM David M

#8084

6954 02/01/2007 04:13 AM David M

- should fix some Firebird issues ( can't believe that nobody found this until now )

6930 01/26/2007 05:09 PM Meik Sievertsen

- fix some oddities (doubled spaces for example)
- changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier.
- Changed some permission namings based on suggestions by the community...

6912 01/20/2007 06:58 PM Meik Sievertsen

- fixing some bugs
- removing utf8 characters from email files (has been discussed internally, you guys know why)
- making sure some opendir calls are checked before calling readdir.

6791 12/23/2006 03:34 AM David M

#6502

6769 12/15/2006 04:11 AM David M

- remove some of my mess :P

6768 12/15/2006 04:06 AM David M

- nobody found this bug :D

6752 12/13/2006 01:56 AM David M

#6192
- i wanted to do this using streams but found myself unable to do so. if one could figure out how to do so, i would like to find out :D

6747 12/11/2006 09:07 PM David M

#6164

6733 12/09/2006 11:47 PM David M

#6130

6732 12/09/2006 09:05 PM David M

#6118

6710 12/04/2006 10:55 PM David M

#6010

6709 12/04/2006 10:52 PM David M

#6010

6698 12/02/2006 02:19 PM Meik Sievertsen

- a bunch of fixes
- added todos to the updater to make sure i do not forget. :)

6607 11/19/2006 03:48 PM David M

#5466

6556 11/05/2006 08:03 PM David M

#5122

6507 10/17/2006 12:12 AM David M

#4758

6497 10/14/2006 04:56 PM Meik Sievertsen

- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks
(hopefully not introduced any parsing errors)

6428 10/02/2006 05:11 PM Meik Sievertsen

consistent acp layout regarding backlinks and messages.

6320 08/28/2006 05:50 PM Meik Sievertsen

- some bugfixes
- using E_USER_WARNING if an error occurred within the ACP (sadly not able to use it as a default for trigger_error - it seems to be hardcoded in PHP)

6312 08/22/2006 11:26 PM Meik Sievertsen

some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.

6297 08/17/2006 06:27 AM David M

forgot to remove some debug code :P

6295 08/17/2006 03:47 AM David M

If this does not fix it, I am not quite so sure it can be fixed as this output exactly models that of the official MySQL tools...

6245 08/06/2006 08:47 PM Nils Adermann

Backup files are now named backup_[timestamp].sql.*

6209 07/24/2006 12:08 PM David M

OK...

This commit should increase the total number of BBCodes from 31 to 2040. Some things to watch out for:

Each database likes to deal with binary data in its own, special way. They are, quite frankly, too cool for school.

MySQL, MSSQL and Oracle all allow me to send in a default value for their binary column using a hex number. However, MSSQL forces me to send the specific data as a hex number and thus we must CAST it....

6145 07/04/2006 06:08 AM David M

- Make sure that the table is empty before we start cramming things inside :D

6144 07/04/2006 05:54 AM David M

- CAPTCHA: removed the extra slash

More backup stuff

- Made some things nicer for some of the DBs
- Made postgreSQL work on non empty databases
- Made SQLite ultra fast on restore

- Properly escaped (as far as I know) the profile data fields so that one may now use reserved words as column names

6141 07/03/2006 02:53 AM David M

- Database: eh? meh.
- CAPTCHA: A little easier to see which options map to which controls

6140 07/03/2006 02:21 AM David M

- Dramatic speed-up in SQLite backup code
- Wrote another patch around SQLite
- SQLite has a lack of (among other things) solid definition of their tables. e.g. "foo" and foo are both valid col names... Database backup and profile creation are now both aware of such "features"...

6133 07/01/2006 08:30 AM David M

bugs? bugs.

6106 06/20/2006 02:21 AM David M

oops?

6105 06/20/2006 02:09 AM David M

what? yeah...
- turns out the backup issue was not a backup issue but a schema issue
- let there be color

6099 06/18/2006 05:35 PM David M

fixes...

6077 06/17/2006 08:50 AM David M

- Some fixes

6059 06/14/2006 12:39 AM David M

Another one bites the dust

6053 06/12/2006 11:55 PM David M

assorted backup fixes

6027 06/09/2006 09:20 PM David M

- Fixed a bug
- PGSQL got updated, we now backup created domains

6015 06/06/2006 10:53 PM Meik Sievertsen

ok, this one is rather large... the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

5893 05/07/2006 04:54 AM David M

- eh? meh.

5891 05/06/2006 10:35 PM David M

- Make it impossible to open/delete/download files that don't exist :P

5876 05/04/2006 04:45 PM David M

eh? meh.

5874 05/02/2006 07:59 PM David M

- Bug #1709

5846 04/26/2006 08:30 AM David M

- Use specfic keys
- Unborked mysqli :D
- PGSQL now supports sequences! woo!
- adsrc is not cool anymore, adbin is where it's all at...

5842 04/25/2006 12:13 AM David M

- Tuples? Nah,
- Install works w/ Oracle
- Got the queries in the database acp to conform to the CS
- profile acp now creates the proper alter column statement depending on the dbal

5817 04/22/2006 05:53 AM David M

i can't seem to not commit this debug code :-(

5816 04/22/2006 05:52 AM David M

- extrapolation is uncool, lets get the _real_name instead of guessing
- fixed some bugs :P

5811 04/21/2006 03:09 AM David M

- Olympus can now install every database, more work to come on getting the rest of the board to work

5804 04/19/2006 06:50 AM David M

- d'oh!

5803 04/19/2006 06:48 AM David M

- Firebird support for backing up
- some bug fixes :P

5799 04/18/2006 06:22 PM David M

- CS

5798 04/18/2006 05:21 PM David M

- More bugfixes (Sorry!)
- ODBC support

5797 04/18/2006 05:14 PM David M

- Nobody wants my debug code :D

5796 04/18/2006 05:13 PM David M

- An index can have multiple columns :P

5793 04/18/2006 04:41 AM David M

- Olympus now properly works with MS SQL
- DB backup system handles MS SQL
- A few bug fixes to the backup system ;)

5789 04/16/2006 07:31 PM David M

- Store and Download is now takes advantage of on-the-fly stuff correctly
- Download and deletion of stored backups now allowed

5725 03/25/2006 08:14 PM Meik Sievertsen

ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.

5708 03/25/2006 02:03 AM David M

- We do On-the-fly file writting for everything in backups, should speed things up
- Removed the ability to make archives for backups... Its one sql file, no need to use some heavy archive to store it...
- Made it easier to use the restore feature
- Flushed the data buffer at the end of every insert statement, this should make large tables (like posts and topics) faster to backup...

5678 03/21/2006 08:23 PM Meik Sievertsen

- a bunch of bugfixes. :P

5666 03/19/2006 12:17 PM Meik Sievertsen

- ok, we should try to write the sql data as early as possible (to prevent extensive memory consumption). What needs to be done now? Trying to compress in realtime if specified and it would be also nice if the filenames had a more meaningful naming. :)

5665 03/19/2006 06:35 AM David M

- Free some results!
- Nicer MySQLhandling (still needs work)

5647 03/18/2006 07:39 AM David M

- Cleaned up some compress stuff
- Replaced deprecated functions in the PostrgreSQL DBAL
- Added an undefined constant during install
- Oh, and we now have backups :D We currently work with all the MySQL flavors, PostgreSQL and SQLite...