1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 16:15:22 +02:00

372 Commits

Author SHA1 Message Date
Meik Sievertsen
9adbf3726a #1264 - fix redirecting if page dir is empty
git-svn-id: file:///svn/phpbb/trunk@5745 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 17:23:23 +00:00
Meik Sievertsen
64fbadf3d6 changed the way re-authentication is handled, basically hardening the process.
- also forbid re-authenticating as another user.

needs further testing.


git-svn-id: file:///svn/phpbb/trunk@5724 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 17:21:32 +00:00
Meik Sievertsen
d1676cb6bf my attempt to fix custom profile fields
- added the load settings for custom profile fields
- re-added our famous make_clickable function
- removed group_by clauses (due to the lang id selection the group by clause is no more needed)

I hope that i have not just created new bugs. ;)


git-svn-id: file:///svn/phpbb/trunk@5712 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 14:16:17 +00:00
Meik Sievertsen
5de37a5c0a - extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) - session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment)
- a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this)
- if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too)


git-svn-id: file:///svn/phpbb/trunk@5709 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 12:07:13 +00:00
Meik Sievertsen
1e2ed1bc9f adjusting sql_freeresult a bit as well as our error handler (it now prints out if it is because of DEBUG_EXTRA being defined - which is not enabled within the betas/rc's and stable releases).
git-svn-id: file:///svn/phpbb/trunk@5699 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 17:30:20 +00:00
Meik Sievertsen
21de871aff - a bunch of bugfixes. :P
git-svn-id: file:///svn/phpbb/trunk@5678 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 19:23:34 +00:00
Meik Sievertsen
4962db5f67 - fix some bugs...
git-svn-id: file:///svn/phpbb/trunk@5643 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-17 12:51:32 +00:00
Meik Sievertsen
d907d066f2 - adding ability to assign moderator specific ban options
- fixing destroying of sql caches
- fixing referencing of sql cached queries if more than one are active on one page
- other fixes


git-svn-id: file:///svn/phpbb/trunk@5633 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-15 13:03:57 +00:00
Graham Eames
8c3f94f9ae We now return the log_id of newly created logs. This is used by the warnings code and may prove to be of use elsewhere or in MODs
git-svn-id: file:///svn/phpbb/trunk@5631 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 20:35:19 +00:00
Meik Sievertsen
fa6de92e6b erm... actually remove the debugging thingy... holla
git-svn-id: file:///svn/phpbb/trunk@5627 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 13:32:48 +00:00
Meik Sievertsen
0572b6efbf slightly different redirect function (now hopefully able to handle all sorts of uris)
git-svn-id: file:///svn/phpbb/trunk@5626 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 13:29:12 +00:00
Meik Sievertsen
d85c4e73ed - added users activity load setting
git-svn-id: file:///svn/phpbb/trunk@5624 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-13 18:05:12 +00:00
Meik Sievertsen
9988679d56 - streamlined reports to consist of the feature set we decided upon (Nils, your turn now)
- use getenv instead of $_ENV (with $_ENV the case could be wrong)
- permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently)
- implemented max login attempts
- changed the expected return parameters for logins/sessions
- added acp page for editing report/denial reasons
- other fixes here and there


git-svn-id: file:///svn/phpbb/trunk@5622 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-12 23:19:55 +00:00
David M
1adfb39cba - Moved the image loading outside the big loop. This brings fewer comparisons and allows us to unload the image data sooner.
- Used a more appropriate method to break the images into chunks.


git-svn-id: file:///svn/phpbb/trunk@5619 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-11 01:52:25 +00:00
Meik Sievertsen
b36c02f320 - fix cookie shortening
- let the acm handle the module cache
- call $cache->save() after destroying data if necessary


git-svn-id: file:///svn/phpbb/trunk@5612 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-09 18:32:50 +00:00
David M
b8834051eb - By default, new installations of magick add itself to PATH and not to a variable that it creates.
git-svn-id: file:///svn/phpbb/trunk@5611 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-09 02:43:35 +00:00
Graham Eames
14b6714c93 Expire issued warnings after and admin configurable time
TODO: Add config option for this value to the ACP


git-svn-id: file:///svn/phpbb/trunk@5602 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-04 17:34:04 +00:00
Meik Sievertsen
f9a451cce2 - some bugfixes
- committed coding guidelines as they are at area51
- removed script_path (needs a close inspection later)
- removed the need for server_name and server_port
- able to define server port/name/protocol and force the user-defined server vars (very handy for proxy setups)


git-svn-id: file:///svn/phpbb/trunk@5595 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-01 21:48:02 +00:00
Nils Adermann
597b1ebced just remove a little error message that came up in a very seldom situation
git-svn-id: file:///svn/phpbb/trunk@5586 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 20:25:05 +00:00
Meik Sievertsen
6b13f94be9 implementing permission roles
- copy permissions (adding groups)
- copy permissions (adding forums)
- checking proper groupadd/del settings
- added intro page to permissions (to give an overview and quick links)
- able to select forums + subforums, single forum, all groups, all users (permission screens)
- able to reset permissions (only reset input field)
- fix forum deletion bug


git-svn-id: file:///svn/phpbb/trunk@5574 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 21:42:26 +00:00
Meik Sievertsen
26a6d215d0 - fix some tiny bugs
- fix module system (sometimes the layout is broken due to falsly deactivated categories)
- auth updates (setting permissions)
- fix "category jumping" bug in acp
- u_action is defined by the module itself


git-svn-id: file:///svn/phpbb/trunk@5558 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-18 13:54:12 +00:00
Meik Sievertsen
2ec9c9c82c display complete backtrace. ;)
git-svn-id: file:///svn/phpbb/trunk@5556 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-15 15:50:14 +00:00
Meik Sievertsen
81f78690db my turn to break things... harharhar
- checking in permission settings and permission masks
- permission presets and documentation not finished yet
- added backtrace function to determine file/line for sql errors
- fixed marlist for orphan attachments/groups/logs/users
- able to change anonymous user settings/permissions now
- re-arranged admin permissions a bit (added some and removed some)
- setting forum permissions after creating/editing forum now selects every default group (copy permisson/dropdown to be added for adding forums)
- finished user permissions in users acp

note: the layout for permissions might change
devs: please empty the user_permissions in phpbb_users. Also, first change your auth_options table, remove all cache files and then re-set admin permissions. After having set the admin permissions you can update your modules table (else you will not see the permission tabs) - or empty the auth setting within the modules table to be able to see the permission modules (they rely on newly added permission options)


git-svn-id: file:///svn/phpbb/trunk@5553 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 19:21:00 +00:00
David M
89feef3ddc - A MUCH better UI to editting an imageset :-)
git-svn-id: file:///svn/phpbb/trunk@5544 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-11 02:00:03 +00:00
Meik Sievertsen
90385cd79a - moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things


git-svn-id: file:///svn/phpbb/trunk@5494 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-25 21:01:52 +00:00
Graham Eames
964615eb07 I'm removing the HEADER_INC check from the error handler to resolve incomplete output in some cases.
If this causes a problem in a specific case, please let me know the details


git-svn-id: file:///svn/phpbb/trunk@5491 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 19:43:39 +00:00
Meik Sievertsen
c0214e35e1 - fix minor bugs
git-svn-id: file:///svn/phpbb/trunk@5490 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 18:47:10 +00:00
Meik Sievertsen
ec959d0001 - size select fix
- introduced function for building group options (acp)
- fixed acl_getf if negated option needs to be retrieved
- only using one function for updating post informations
- fixing module display if module is disabled
- if user is having a non-existent style do not print out error message, instead fix the users value and load the default style


git-svn-id: file:///svn/phpbb/trunk@5486 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 13:06:13 +00:00
Meik Sievertsen
0c03b4e45e - assign user rank
- only a few very tiny bugfixes


git-svn-id: file:///svn/phpbb/trunk@5451 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 14:34:46 +00:00
Nils Adermann
0e0b1120fb - overhauled search system
- updated structure for search backend plugins
  - better result caching using ACM
  - search results no longer session restricted => link to them by copying the URL :)
  - in-topic search
  - indexing posts now uses search backend plugins
  - develop/search_fill.php working again
  - fulltext_mysql not working yet
- tiny bugfixes to ACM


git-svn-id: file:///svn/phpbb/trunk@5441 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 18:56:07 +00:00
Nils Adermann
ea96595e4f - array_combine replacement for PHP4
- properly send the charset


git-svn-id: file:///svn/phpbb/trunk@5437 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 17:07:36 +00:00
Meik Sievertsen
a05d3c14d2 making sure coding guidelines are met... ;)
git-svn-id: file:///svn/phpbb/trunk@5431 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 07:48:51 +00:00
Tom Beddard
ff86c423cf Updated the General Error page
git-svn-id: file:///svn/phpbb/trunk@5430 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 22:47:44 +00:00
Meik Sievertsen
2faf2639ee - install style and style elements
- refresh template and style cache


git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-02 17:30:59 +00:00
Nils Adermann
c4bf44e579 - mt_srand in unique_id working properly (swapped usec and sec)
- mt_srand in digest_md5 removed


git-svn-id: file:///svn/phpbb/trunk@5403 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 11:09:16 +00:00
Nils Adermann
85f502a52b This was causing trouble on ppc, I kept getting the same random string (probably the passed value was too big). And "As of PHP 4.2.0, there is no need to seed the random number generator with srand() or mt_srand() as this is now done automatically." so I removed it completely.
git-svn-id: file:///svn/phpbb/trunk@5395 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 18:13:24 +00:00
Meik Sievertsen
0334d42477 - some changes to browser checking (was the reason for not working logins)
- partly working style acp
- other tiny changes here and there


git-svn-id: file:///svn/phpbb/trunk@5388 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-28 17:35:20 +00:00
Meik Sievertsen
60d218245c - ok, get away with the secondary style approach (styles can be mixed together easily with the acp)
- introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields
- please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters.


git-svn-id: file:///svn/phpbb/trunk@5372 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 16:28:27 +00:00
Graham Eames
738bf09f92 Third time around, it turns out that the code where I made that mistake initially is completely unneeded since you won't get to this point if the user is anonymous (or a bot) anyway
git-svn-id: file:///svn/phpbb/trunk@5355 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-18 19:58:58 +00:00
Graham Eames
731f67872b Fix an issue with hidden users showing up on the online list if their
global setting was yes but they had hidden for this session


git-svn-id: file:///svn/phpbb/trunk@5350 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:38:18 +00:00
Nils Adermann
f80bf5bf1e I was told I also had to commit something today ;-)
Hexadecimal should be in double quotes.


git-svn-id: file:///svn/phpbb/trunk@5348 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:09:33 +00:00
Graham Eames
1595f7a8d3 Adding the ability to change send_encoding needs a slight tweak to the
code which tests it since it will now always be set


git-svn-id: file:///svn/phpbb/trunk@5347 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 21:34:33 +00:00
Meik Sievertsen
b41525229b - custom profile fields
- prune users
- prune forums


git-svn-id: file:///svn/phpbb/trunk@5325 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-10 23:20:21 +00:00
Meik Sievertsen
877d71528d - banning, disallow usernames and ranks
git-svn-id: file:///svn/phpbb/trunk@5323 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-09 18:09:43 +00:00
Meik Sievertsen
2fd418fc21 - some bugfixes
- checking if page_header has been called already
- call correct page footer function
- rewrote avatar gallery
- seperated compilation of template and template functions (new file: functions_template.php)
- added assign_display function to template
- added group management (acp)
- removed admin_groups


git-svn-id: file:///svn/phpbb/trunk@5319 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-04 20:25:51 +00:00
Meik Sievertsen
1bf18e23ed - added acp_language (language pack management)
- minor adjustments to cope with PHP5.x


git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-30 17:48:06 +00:00
Meik Sievertsen
e21245f2ee - some ucp changes (added the module info too)
git-svn-id: file:///svn/phpbb/trunk@5302 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-17 17:32:25 +00:00
Meik Sievertsen
a484161be2 - tiny bugfixes. ;)
git-svn-id: file:///svn/phpbb/trunk@5296 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-08 19:29:20 +00:00
Graham Eames
24efdfcd88 I'm merging a few changes that we made to the session code in 2.0 into
this code stream as well. This should work, but equally it might break
the autologin :-)


git-svn-id: file:///svn/phpbb/trunk@5288 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-03 20:53:47 +00:00
Meik Sievertsen
b873b37607 - updated topic tracking code
- additional changes (mostly bugfixes)
- bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;)
- and last but not least, introducing some bugs in ucp main front (regarding topic tracking)


git-svn-id: file:///svn/phpbb/trunk@5272 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-19 18:00:10 +00:00