1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-26 04:52:36 +01:00

81 Commits

Author SHA1 Message Date
David M
3158d0897e #13463
- tiny issue with get_tables()


git-svn-id: file:///svn/phpbb/trunk@7893 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-16 01:06:34 +00:00
David M
c1c2f29031 #10785
git-svn-id: file:///svn/phpbb/trunk@7531 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-05-11 21:22:28 +00:00
David M
46a58a7add #10715
git-svn-id: file:///svn/phpbb/trunk@7530 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-05-11 20:53:51 +00:00
David M
921c9dd26e I *knew* I forgot something :P
git-svn-id: file:///svn/phpbb/trunk@7479 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-05-05 21:47:16 +00:00
David M
4d558febc8 #10495
git-svn-id: file:///svn/phpbb/trunk@7472 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-05-05 13:43:39 +00:00
David M
191276c61b #9662
git-svn-id: file:///svn/phpbb/trunk@7293 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-04-07 03:45:59 +00:00
David M
3eec9b84d1 #9601
git-svn-id: file:///svn/phpbb/trunk@7279 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-04-04 05:06:51 +00:00
David M
e7fcb3625e - PostgreSQL can now use schemas. During install, under database name, enter databasename.schema
- phpversion() to PHP_VERSION


git-svn-id: file:///svn/phpbb/trunk@7255 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-04-01 12:39:34 +00:00
David M
51b2105b0b - Avoid creating backups that we can't restore :)
git-svn-id: file:///svn/phpbb/trunk@7141 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-03-07 03:27:20 +00:00
Meik Sievertsen
9b33d4009d adding @package tag which is required for all classes.
git-svn-id: file:///svn/phpbb/trunk@7050 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-24 10:20:03 +00:00
David M
4805ae6542 forgot to actually commit it :P
git-svn-id: file:///svn/phpbb/trunk@7016 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-19 20:57:05 +00:00
David M
652d349b75 - IE7 should now work too
git-svn-id: file:///svn/phpbb/trunk@7006 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-17 23:40:57 +00:00
David M
9300c40900 - used wrong heuristic to measure if we were done, using a different one now.
git-svn-id: file:///svn/phpbb/trunk@6999 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-17 04:53:43 +00:00
David M
4a83eb22da - finally fixed this one, IE has a bug that makes puppies cry.
git-svn-id: file:///svn/phpbb/trunk@6997 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-17 03:20:14 +00:00
David M
ec9a091669 - some stupid bugs
git-svn-id: file:///svn/phpbb/trunk@6994 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-16 20:37:12 +00:00
David M
4044156286 - small mistake :-(
git-svn-id: file:///svn/phpbb/trunk@6993 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-16 04:31:42 +00:00
David M
e10e47044e #8154
git-svn-id: file:///svn/phpbb/trunk@6991 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-16 04:20:45 +00:00
David M
caf5bfffd7 #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)


git-svn-id: file:///svn/phpbb/trunk@6990 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-16 00:46:21 +00:00
David M
a014f237de #8144
git-svn-id: file:///svn/phpbb/trunk@6989 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-15 21:51:54 +00:00
David M
cecdbaa4c3 #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


git-svn-id: file:///svn/phpbb/trunk@6988 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-15 20:30:41 +00:00
David M
4c487c1cdc #8084
git-svn-id: file:///svn/phpbb/trunk@6984 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-13 00:14:39 +00:00
David M
9a685e7a48 - should fix some Firebird issues ( can't believe that nobody found this until now )
git-svn-id: file:///svn/phpbb/trunk@6954 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-02-01 03:13:08 +00:00
Meik Sievertsen
ddddda47fb - 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
- Tried to comply to the permission field ordering within the language files while displaying permission sets. Hopefully it's worth the additional processing time.
- Disable submit buttons after clicking for installation and conversions.


git-svn-id: file:///svn/phpbb/trunk@6930 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-01-26 16:09:51 +00:00
Meik Sievertsen
31e546c5e4 - 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.


git-svn-id: file:///svn/phpbb/trunk@6912 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-01-20 17:58:27 +00:00
David M
7b86f3b9a8 #6502
git-svn-id: file:///svn/phpbb/trunk@6791 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-23 02:34:18 +00:00
David M
11e70be6ed - remove some of my mess :P
git-svn-id: file:///svn/phpbb/trunk@6769 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-15 03:11:34 +00:00
David M
522d52efe4 - nobody found this bug :D
git-svn-id: file:///svn/phpbb/trunk@6768 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-15 03:06:57 +00:00
David M
a2e512b218 #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


git-svn-id: file:///svn/phpbb/trunk@6752 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-13 00:56:56 +00:00
David M
9164895301 #6164
git-svn-id: file:///svn/phpbb/trunk@6747 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-11 20:07:57 +00:00
David M
bf2a0e7eb2 #6130
git-svn-id: file:///svn/phpbb/trunk@6733 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-09 22:47:50 +00:00
David M
90457c7f8c #6118
git-svn-id: file:///svn/phpbb/trunk@6732 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-09 20:05:12 +00:00
David M
f43a46fcf4 #6010
git-svn-id: file:///svn/phpbb/trunk@6710 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-04 21:55:34 +00:00
David M
1a5791e19f #6010
git-svn-id: file:///svn/phpbb/trunk@6709 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-04 21:52:55 +00:00
Meik Sievertsen
7ad986c37e - a bunch of fixes
- added todos to the updater to make sure i do not forget. :)


git-svn-id: file:///svn/phpbb/trunk@6698 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-12-02 13:19:40 +00:00
David M
f31e170e99 #5466
git-svn-id: file:///svn/phpbb/trunk@6607 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-11-19 14:48:00 +00:00
David M
811d6ef6d1 #5122
git-svn-id: file:///svn/phpbb/trunk@6556 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-11-05 19:03:24 +00:00
David M
771c20a5a4 #4758
git-svn-id: file:///svn/phpbb/trunk@6507 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-10-16 22:12:52 +00:00
Meik Sievertsen
4afaca12dc - store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks
(hopefully not introduced any parsing errors)


git-svn-id: file:///svn/phpbb/trunk@6497 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-10-14 14:56:46 +00:00
Meik Sievertsen
cc4a0a2f7a consistent acp layout regarding backlinks and messages.
git-svn-id: file:///svn/phpbb/trunk@6428 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-10-02 15:11:40 +00:00
Meik Sievertsen
1d37b69ddd - 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)


git-svn-id: file:///svn/phpbb/trunk@6320 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-28 15:50:33 +00:00
Meik Sievertsen
1d42d1b981 some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.
git-svn-id: file:///svn/phpbb/trunk@6312 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-22 21:26:06 +00:00
David M
6294974d86 forgot to remove some debug code :P
git-svn-id: file:///svn/phpbb/trunk@6297 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-17 04:27:38 +00:00
David M
10f1be96ff 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...
git-svn-id: file:///svn/phpbb/trunk@6295 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-17 01:47:14 +00:00
Nils Adermann
7c01c5ceb9 Backup files are now named backup_[timestamp].sql.*
git-svn-id: file:///svn/phpbb/trunk@6245 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 18:47:11 +00:00
David M
9532514c2a 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.

PostgreSQL allows me to set a binary column, but with a twist. It demands that the default be in _octal_ and its datatype allows somewhere around a gigabyte's worth of BBCodes ( PGSQL users, we shut you down to 2040 for your own good! )

Firebird has no decent mechanism for allowing me to shuttle in binary data so I must force my way in. By virtue of triggers and a UDF, we ram in our default values.

SQLite is the most bizarre of them all. They have no mechanism for turning an ASCII code into a ASCII character. Because of this, we have a trigger and a UDF (just like Firebird!) but with a twist! The UDF is defined on the PHP side of things instead of SQL. SQLite also demands that it's data be encoded before being sent off.

Other notes:
- SQLite installs again :D
- Firebird nearly installs again :P
- Database backup is not screwed up :P

P.S.
I hope nothing broke :D


git-svn-id: file:///svn/phpbb/trunk@6209 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-24 10:08:36 +00:00
David M
291ab6216e - Make sure that the table is empty before we start cramming things inside :D
git-svn-id: file:///svn/phpbb/trunk@6145 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-04 04:08:30 +00:00
David M
6a1f1f5721 - 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


git-svn-id: file:///svn/phpbb/trunk@6144 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-04 03:54:41 +00:00
David M
1b48afeb30 - Database: eh? meh.
- CAPTCHA: A little easier to see which options map to which controls


git-svn-id: file:///svn/phpbb/trunk@6141 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-03 00:53:54 +00:00
David M
662e12d466 - 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"

meh, i hope this all works...


git-svn-id: file:///svn/phpbb/trunk@6140 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-03 00:21:40 +00:00
David M
3efe7ffb1f bugs? bugs.
git-svn-id: file:///svn/phpbb/trunk@6133 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-01 06:30:49 +00:00