platal.git
17 years agorename redirect function into http_redirect.
x2000habouzit [Sat, 22 Jul 2006 13:59:34 +0000 (13:59 +0000)]
rename redirect function into http_redirect.

create pl_url that create a platal url from a path and things like that.

create pl_redirect that redirects to the right pl_url, handle platal->ns
magically

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@559 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomerge the two files now that they are smaller.
x2000habouzit [Sat, 22 Jul 2006 12:58:50 +0000 (12:58 +0000)]
merge the two files now that they are smaller.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@558 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agono more smarty in the templates, that was a BIG security flaw !!!
x2000habouzit [Sat, 22 Jul 2006 12:53:15 +0000 (12:53 +0000)]
no more smarty in the templates, that was a BIG security flaw !!!

removed 90% of the security scheme, we will build one outside from pmwiki,
with our own credentials, filtered at wiki.php time.

cache is still used, and assigned to a smarty variable, outputed raw

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@557 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agorework css a bit, temporary.
x2000habouzit [Sat, 22 Jul 2006 12:18:17 +0000 (12:18 +0000)]
rework css a bit, temporary.

rework edit frame also

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@556 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove more code.
x2000habouzit [Thu, 20 Jul 2006 18:34:56 +0000 (18:34 +0000)]
remove more code.

drop group permissions, we won't have 1209123 wiki pages, KISS

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@554 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoyet another file removed
x2000habouzit [Wed, 19 Jul 2006 21:58:58 +0000 (21:58 +0000)]
yet another file removed

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@552 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agosmall detail
x2000habouzit [Wed, 19 Jul 2006 21:57:21 +0000 (21:57 +0000)]
small detail

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@551 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomove the non functionnal code into wiki.php
x2000habouzit [Wed, 19 Jul 2006 21:56:26 +0000 (21:56 +0000)]
move the non functionnal code into wiki.php

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@550 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove more wiki code, fix redirect if there is a trailing /
x2000habouzit [Wed, 19 Jul 2006 21:52:55 +0000 (21:52 +0000)]
remove more wiki code, fix redirect if there is a trailing /

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@549 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agotons of fixes and/or simplifications.
x2000habouzit [Wed, 19 Jul 2006 21:50:32 +0000 (21:50 +0000)]
tons of fixes and/or simplifications.

but that's really clear: current method to deal with pmwiki is *way* too
complicated, I can't understand a single line of that piece of code, and
how it interacts with the rest.

We don't need 10% of the complexity of what is currently developped.

moreover, users can import any smarty tags in the text, which is awful :|

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@548 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agounused
x2000habouzit [Wed, 19 Jul 2006 21:46:41 +0000 (21:46 +0000)]
unused

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@547 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agosur la page de recherche dans l'annuaire : message indiquant que nous n'avons pas...
x2002bobillot [Wed, 19 Jul 2006 21:45:03 +0000 (21:45 +0000)]
sur la page de recherche dans l'annuaire : message indiquant que nous n'avons pas d'infos sur les promos < 1920

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@546 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofinish to drop the prefs hook
x2000habouzit [Wed, 19 Jul 2006 19:23:48 +0000 (19:23 +0000)]
finish to drop the prefs hook

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@545 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoyet remove some stupid hooks.
x2000habouzit [Wed, 19 Jul 2006 19:20:16 +0000 (19:20 +0000)]
yet remove some stupid hooks.

use some dynpostkv (and fix it at the same time)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@544 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agocrappy stupid .in file
x2000habouzit [Wed, 19 Jul 2006 18:56:23 +0000 (18:56 +0000)]
crappy stupid .in file

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@543 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agolot of various code simplifications, including removing useless settings,
x2000habouzit [Wed, 19 Jul 2006 18:50:43 +0000 (18:50 +0000)]
lot of various code simplifications, including removing useless settings,
or sql queries, or delegations in auth methods.

also guess $globals->baseurl as it's now trivial to do so.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@542 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agosimplify auth mechanism a bit more
x2000habouzit [Wed, 19 Jul 2006 06:35:59 +0000 (06:35 +0000)]
simplify auth mechanism a bit more

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@541 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove useless functions and stuff.
x2000habouzit [Tue, 18 Jul 2006 22:52:04 +0000 (22:52 +0000)]
remove useless functions and stuff.
this breaks the wiki currently, but the auth scheme will soon be simplified and disconnected from the
'page' metaphore, and it will be fixed again

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@540 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove $globals->root, only have spoolroot
x2000habouzit [Mon, 17 Jul 2006 21:10:51 +0000 (21:10 +0000)]
remove $globals->root, only have spoolroot

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@539 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agodrop {rel} for good.
x2000habouzit [Mon, 17 Jul 2006 20:43:57 +0000 (20:43 +0000)]
drop {rel} for good.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@538 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoforce 'base href=...../~x......' once for good.
x2000habouzit [Mon, 17 Jul 2006 20:35:22 +0000 (20:35 +0000)]
force 'base href=...../~x......' once for good.

make {rel} return '.' and see that it works \o/

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@537 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofix all non relative to the site root links.
x2000habouzit [Mon, 17 Jul 2006 19:57:16 +0000 (19:57 +0000)]
fix all non relative to the site root links.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@536 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agodrop exalead for good
x2000habouzit [Mon, 17 Jul 2006 19:13:36 +0000 (19:13 +0000)]
drop exalead for good

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@535 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoNot used
x2000lajoie [Mon, 17 Jul 2006 16:01:38 +0000 (16:01 +0000)]
Not used

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@534 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoNot used by platal or Xnet
x2000lajoie [Mon, 17 Jul 2006 15:58:15 +0000 (15:58 +0000)]
Not used by platal or Xnet

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@533 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agodrop url modifier \o/
x2000habouzit [Mon, 17 Jul 2006 14:17:03 +0000 (14:17 +0000)]
drop url modifier \o/

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@532 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agopending commit, finished during MQ/S download ...
x2000habouzit [Mon, 17 Jul 2006 10:29:39 +0000 (10:29 +0000)]
pending commit, finished during MQ/S download ...

rework a lot the Session object, to share more code between platal and xnet

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@531 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoBackport
x2003bruneau [Mon, 17 Jul 2006 07:23:55 +0000 (07:23 +0000)]
Backport

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@530 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove smarty {version} function, we have {#globals.version#} for it !!!
x2000habouzit [Sun, 16 Jul 2006 22:48:18 +0000 (22:48 +0000)]
remove smarty {version} function, we have {#globals.version#} for it !!!

remove useless global $globals; lines.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@528 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agorework XOrgDB -> XDB (shorter, easier to use).
x2000habouzit [Sun, 16 Jul 2006 22:09:30 +0000 (22:09 +0000)]
rework XOrgDB -> XDB (shorter, easier to use).

make the damn class be static

$globals->xdb is now gone, long live XDB::

this should allow us to remove a *lot* of :

global $globals;

statements everywhere, which is good

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@527 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agowe don't need diogenes session anymore
x2000habouzit [Sun, 16 Jul 2006 21:55:53 +0000 (21:55 +0000)]
we don't need diogenes session anymore

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@526 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agodetails.
x2000habouzit [Sun, 16 Jul 2006 21:34:37 +0000 (21:34 +0000)]
details.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@525 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agopush events mail alias modifications into a sub function.
x2000habouzit [Sun, 16 Jul 2006 12:55:43 +0000 (12:55 +0000)]
push events mail alias modifications into a sub function.

rework event edition code a bit, make it smaller.

couple of fixes.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@524 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomostly code simplifications.
x2000habouzit [Sun, 16 Jul 2006 12:02:22 +0000 (12:02 +0000)]
mostly code simplifications.

also: drop support for membres_only and advertise for events as it's not supported at all, easy to
re-add and just confuses users.

if we plan to add a feature, we have to add them fully or not, but not half, it's very confusing, and
lead to bloated forms for nothing.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@523 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomove templates at the right place for xnetlists
x2000habouzit [Sun, 16 Jul 2006 11:59:46 +0000 (11:59 +0000)]
move templates at the right place for xnetlists

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@522 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agorework makefile
x2000habouzit [Sat, 15 Jul 2006 23:54:44 +0000 (23:54 +0000)]
rework makefile

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@521 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove cruft
x2000habouzit [Sat, 15 Jul 2006 23:44:06 +0000 (23:44 +0000)]
remove cruft

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@520 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agowibble
x2000habouzit [Sat, 15 Jul 2006 23:39:14 +0000 (23:39 +0000)]
wibble

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@519 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomove csv.tpl into the right place.
x2000habouzit [Sat, 15 Jul 2006 23:35:41 +0000 (23:35 +0000)]
move csv.tpl into the right place.
also send the good encoding headers

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@518 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoactually show what has been really done :D
x2000habouzit [Sat, 15 Jul 2006 23:30:47 +0000 (23:30 +0000)]
actually show what has been really done :D

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@517 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofixes wrt item_id
x2000habouzit [Sat, 15 Jul 2006 23:20:05 +0000 (23:20 +0000)]
fixes wrt item_id

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@516 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofix javascript
x2000habouzit [Sat, 15 Jul 2006 23:15:24 +0000 (23:15 +0000)]
fix javascript

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@515 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomake private modules looks the same
x2000habouzit [Sat, 15 Jul 2006 23:13:26 +0000 (23:13 +0000)]
make private modules looks the same

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@514 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoclean admin code.
x2000habouzit [Sat, 15 Jul 2006 23:11:07 +0000 (23:11 +0000)]
clean admin code.
make old include/xnet/evenements.php a private include.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@513 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agohack so that $this->path is what it should be
x2000habouzit [Sat, 15 Jul 2006 23:10:00 +0000 (23:10 +0000)]
hack so that $this->path is what it should be

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@512 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agotypo
x2000habouzit [Sat, 15 Jul 2006 22:07:30 +0000 (22:07 +0000)]
typo

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@511 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agouse dynpostkv in banana as well
x2000habouzit [Sat, 15 Jul 2006 22:06:24 +0000 (22:06 +0000)]
use dynpostkv in banana as well

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@510 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agorework index template to use dynpostkv to delete events.
x2000habouzit [Sat, 15 Jul 2006 22:03:36 +0000 (22:03 +0000)]
rework index template to use dynpostkv to delete events.

move the deletion code to the index handler.
improve it to be more robust;

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@509 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoadd a dynpostkv function:
x2000habouzit [Sat, 15 Jul 2006 21:56:34 +0000 (21:56 +0000)]
add a dynpostkv function:

posts {k: v} as it's very useful for many simple 'posts'

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@508 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agorework events main page, so that we can have more simple code.
x2000habouzit [Sat, 15 Jul 2006 21:47:49 +0000 (21:47 +0000)]
rework events main page, so that we can have more simple code.

put subscription in a separate page *again* because it's in fact horrible in the UI like it was done.

also amend get_event_detail to return more coherent datas, and use it in the new events/sub page.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@507 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofixes
x2000habouzit [Sat, 15 Jul 2006 19:14:23 +0000 (19:14 +0000)]
fixes

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@506 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate events.
x2000habouzit [Sat, 15 Jul 2006 18:59:17 +0000 (18:59 +0000)]
migrate events.

that code is a REAL noodle soup, it's pure horror, it's a miracle it works :|

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@505 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoUpdate banana profile to use the tabbed structure
x2003bruneau [Sat, 15 Jul 2006 17:47:08 +0000 (17:47 +0000)]
Update banana profile to use the tabbed structure

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@504 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoAdapt platal to use banana tabbed structure
x2003bruneau [Sat, 15 Jul 2006 17:02:52 +0000 (17:02 +0000)]
Adapt platal to use banana tabbed structure

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@503 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate evenements.php (partially I guess) and csv export
x2000habouzit [Sat, 15 Jul 2006 14:57:09 +0000 (14:57 +0000)]
migrate evenements.php (partially I guess) and csv export

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@502 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoobsolete
x2000habouzit [Sat, 15 Jul 2006 14:35:46 +0000 (14:35 +0000)]
obsolete

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@501 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate member edition / deletion / ...
x2000habouzit [Sat, 15 Jul 2006 14:30:06 +0000 (14:30 +0000)]
migrate member edition / deletion / ...

split those in 3 contexts, so that it's understandable

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@500 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agodrop exalead atm: nobody understands it, it does not works, it's a lie
x2000habouzit [Sat, 15 Jul 2006 13:53:18 +0000 (13:53 +0000)]
drop exalead atm: nobody understands it, it does not works, it's a lie

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@499 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agodrop the wiki for the moment, it does not plays nice with X.net ...
x2000habouzit [Sat, 15 Jul 2006 13:48:01 +0000 (13:48 +0000)]
drop the wiki for the moment, it does not plays nice with X.net ...

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@498 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate alias things
x2000habouzit [Sat, 15 Jul 2006 13:45:50 +0000 (13:45 +0000)]
migrate alias things

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@497 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate list creation.
x2000habouzit [Sat, 15 Jul 2006 13:33:30 +0000 (13:33 +0000)]
migrate list creation.
fix problem with list deletion.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@496 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agostupid encodings
x2000habouzit [Sat, 15 Jul 2006 13:20:29 +0000 (13:20 +0000)]
stupid encodings

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@494 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate xnet list index.
x2000habouzit [Sat, 15 Jul 2006 13:19:15 +0000 (13:19 +0000)]
migrate xnet list index.
migrate xnet list sync module

also remove 'trombi' trigger for xnet

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@493 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomake prepare_client take a page as an argument, useful for xnet.
x2000habouzit [Sat, 15 Jul 2006 13:02:14 +0000 (13:02 +0000)]
make prepare_client take a page as an argument, useful for xnet.

implement a XnetLists class that is not more than a subtle variation on the List one.

it just wors \o/

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@492 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate lists.
x2000habouzit [Fri, 14 Jul 2006 23:05:38 +0000 (23:05 +0000)]
migrate lists.

x.net is now completely b0rked. will be fixed soon

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@491 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate telepaiements.php
x2000habouzit [Fri, 14 Jul 2006 21:10:32 +0000 (21:10 +0000)]
migrate telepaiements.php

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@490 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofixes
x2000habouzit [Fri, 14 Jul 2006 21:03:06 +0000 (21:03 +0000)]
fixes

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@489 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate inscrire.php
x2000habouzit [Fri, 14 Jul 2006 21:01:43 +0000 (21:01 +0000)]
migrate inscrire.php

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@488 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate annuaire-admin
x2000habouzit [Fri, 14 Jul 2006 20:45:15 +0000 (20:45 +0000)]
migrate annuaire-admin

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@487 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate mail.php
x2000habouzit [Fri, 14 Jul 2006 20:41:29 +0000 (20:41 +0000)]
migrate mail.php

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@486 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate annuaire
x2000habouzit [Fri, 14 Jul 2006 20:34:32 +0000 (20:34 +0000)]
migrate annuaire

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@485 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate getlogo
x2000habouzit [Fri, 14 Jul 2006 19:54:03 +0000 (19:54 +0000)]
migrate getlogo

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@484 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agobegin to migrate the first 'asso' page to the new system, using a namespace hack...
x2000habouzit [Fri, 14 Jul 2006 19:49:18 +0000 (19:49 +0000)]
begin to migrate the first 'asso' page to the new system, using a namespace hack, determined
cooperatively from a Xnet class (implementing the Platal site) and from xnet globals.

this is hacky, and has to disappear at some point, when we will clean session objs.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@483 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoremove wiki rewrite rule atm, it makes nasty things with the groups (capitalized...
x2000habouzit [Fri, 14 Jul 2006 19:11:34 +0000 (19:11 +0000)]
remove wiki rewrite rule atm, it makes nasty things with the groups (capitalized as well).

also rework group detection

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@482 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agotypo
x2003bruneau [Fri, 14 Jul 2006 13:11:54 +0000 (13:11 +0000)]
typo

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@481 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate groupes.php also
x2000habouzit [Thu, 13 Jul 2006 23:37:05 +0000 (23:37 +0000)]
migrate groupes.php also

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@480 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate admin.php, recode into latin1
x2000habouzit [Thu, 13 Jul 2006 23:21:20 +0000 (23:21 +0000)]
migrate admin.php, recode into latin1

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@479 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agofix a link, make html more readable
x2000habouzit [Thu, 13 Jul 2006 23:11:46 +0000 (23:11 +0000)]
fix a link, make html more readable

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@478 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoreturns null is implicit, so don't make it explicit, it's a lot of useless code.
x2000habouzit [Thu, 13 Jul 2006 23:06:19 +0000 (23:06 +0000)]
returns null is implicit, so don't make it explicit, it's a lot of useless code.

================================================================================
 classes/Platal.php    |    2 --
 modules/banana.php    |    5 -----
 modules/carnet.php    |   15 ++-------------
 modules/core.php      |    2 --
 modules/email.php     |   17 ++++-------------
 modules/events.php    |   10 ----------
 modules/geoloc.php    |    8 --------
 modules/marketing.php |   14 --------------
 modules/payment.php   |    4 ----
 modules/platal.php    |   22 +---------------------
 modules/profile.php   |   33 +++++++++------------------------
 modules/register.php  |    6 ------
 modules/search.php    |    4 ----
 modules/stats.php     |    6 ------
 modules/trezo.php     |    4 ----
 modules/xnet.php      |   10 ----------
================================================================================
 16 files changed, 16 insertions(+), 146 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@477 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agotypo
x2000habouzit [Thu, 13 Jul 2006 22:57:32 +0000 (22:57 +0000)]
typo

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@476 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate trivial pages into xnet module
x2000habouzit [Thu, 13 Jul 2006 22:56:53 +0000 (22:56 +0000)]
migrate trivial pages into xnet module

===============================================================================
 hooks/tmp.inc.php                   |    2
 htdocs.net/article12.php            |    7 --
 htdocs.net/article16.php            |    7 --
 htdocs.net/creation-groupex.php     |    7 --
 htdocs.net/deconnexion.php          |   10 ---
 htdocs.net/fiche.php                |    4 -
 htdocs.net/manuel.php               |    7 --
 htdocs.net/plan.php                 |   42 --------------
 htdocs.net/services.php             |    7 --
 include/xnet/page.inc.php           |    4 -
 include/xnet/session.inc.php        |    2
 modules/xnet.php                    |  102 +++++++++++++++++++++++++++++++++++-
 templates/xnet/article12.tpl        |    2
 templates/xnet/article16.tpl        |    2
 templates/xnet/creation-groupex.tpl |    2
 templates/xnet/include/descr.tpl    |    8 +-
 templates/xnet/index.tpl            |    4 -
 templates/xnet/services.tpl         |    6 +-
 templates/xnet/skin.tpl             |    8 +-
===============================================================================
 19 files changed, 120 insertions(+), 113 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@475 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomerge about.php in xnet module.
x2000habouzit [Thu, 13 Jul 2006 22:41:48 +0000 (22:41 +0000)]
merge about.php in xnet module.
remove all index.php references

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@474 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agonot needed anymore
x2000habouzit [Thu, 13 Jul 2006 22:28:39 +0000 (22:28 +0000)]
not needed anymore

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@472 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agosimplify the design, drop login.php for now, it will come back (maybe) at some point...
x2000habouzit [Thu, 13 Jul 2006 22:27:17 +0000 (22:27 +0000)]
simplify the design, drop login.php for now, it will come back (maybe) at some point, but is not needed
yet, and will complicate the migration anyway:

 htdocs.net/groupe/inscrire.php |    3 -
 htdocs.net/login.php           |   10 ---
 htdocs.net/wiki.php            |   10 +--
 include/xnet.inc.php           |   82 ++++++++++++++++++++----------
 include/xnet/page.inc.php      |  110 +----------------------------------------
 include/xnet/session.inc.php   |    5 -
 templates/xnet/skin.tpl        |    1
 7 files changed, 66 insertions(+), 155 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@471 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agobegin to work on xnet a bit.
x2000habouzit [Thu, 13 Jul 2006 22:00:39 +0000 (22:00 +0000)]
begin to work on xnet a bit.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@470 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agocruft
x2000habouzit [Thu, 13 Jul 2006 21:54:41 +0000 (21:54 +0000)]
cruft

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@469 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoforgotten handler_ prefixes in auth.php
x2000habouzit [Thu, 13 Jul 2006 21:53:49 +0000 (21:53 +0000)]
forgotten handler_ prefixes in auth.php

make 'index' be called when path is empty, and put it in platal module.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@468 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years ago__usens is a bad idea.
x2000habouzit [Thu, 13 Jul 2006 21:44:04 +0000 (21:44 +0000)]
__usens is a bad idea.

think again

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@467 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomove some functions into platal.php
x2000habouzit [Thu, 13 Jul 2006 21:37:41 +0000 (21:37 +0000)]
move some functions into platal.php

always load 'core' module.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@466 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoswitch to an explicit list of modules.
x2000habouzit [Thu, 13 Jul 2006 21:26:49 +0000 (21:26 +0000)]
switch to an explicit list of modules.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@465 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agosimplify class, put the search for hook in a separate function , to be able to reuse...
x2000habouzit [Thu, 13 Jul 2006 21:23:17 +0000 (21:23 +0000)]
simplify class, put the search for hook in a separate function , to be able to reuse that on X.net more
easily

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@464 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoIn order to use last svn of banana
x2003bruneau [Thu, 13 Jul 2006 15:40:00 +0000 (15:40 +0000)]
In order to use last svn of banana

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@463 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomove geoloc as is into a geoloc module. no rewrite planned at all
x2000habouzit [Thu, 13 Jul 2006 11:45:23 +0000 (11:45 +0000)]
move geoloc as is into a geoloc module. no rewrite planned at all

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@462 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agotypo
x2000habouzit [Thu, 13 Jul 2006 11:44:57 +0000 (11:44 +0000)]
typo

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@461 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agopush the horrible javascript line into a separate js.
x2000habouzit [Thu, 13 Jul 2006 11:44:31 +0000 (11:44 +0000)]
push the horrible javascript line into a separate js.

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@460 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoOops
x2003bruneau [Thu, 13 Jul 2006 09:38:32 +0000 (09:38 +0000)]
Oops

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@459 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoFix xface with last banana and make white region transparent
x2003bruneau [Thu, 13 Jul 2006 09:25:27 +0000 (09:25 +0000)]
Fix xface with last banana and make white region transparent
Fix updateall behaviour

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@458 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoFix xface in case it contains '/'
x2003bruneau [Thu, 13 Jul 2006 07:55:14 +0000 (07:55 +0000)]
Fix xface in case it contains '/'

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@457 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agoforgotten commit
x2000habouzit [Thu, 13 Jul 2006 07:39:36 +0000 (07:39 +0000)]
forgotten commit

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@456 839d8a87-29fc-0310-9880-83ba4fa771e5

17 years agomigrate e-confiance things into auth.php
x2000habouzit [Wed, 12 Jul 2006 22:31:47 +0000 (22:31 +0000)]
migrate e-confiance things into auth.php

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@455 839d8a87-29fc-0310-9880-83ba4fa771e5