-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix home #1784
base: master
Are you sure you want to change the base?
Fix home #1784
Conversation
Première remarque : j'ai des erreurs à la pelle en visiteur quand je ne suis pas connecté, alors que ça a l'air fonctionnel en magicien. |
27ffe10
to
ba02357
Compare
c9c07bc
to
b74350e
Compare
I tested last update of this PR with cid b74350e, and for some individual with no parents, the error message is switching from
|
thanks for the test. fixed in c03357e |
I tried to build some sort of regression test. |
I am suggesting a script change in michelmno@146f10a |
first run with my DB is reporting:
|
Pleas DON’T merge this PR. It is draft. I see a lot of mistakes to be fixed: double titles + double HTML headers on some .ml pages, menubar removed from carousel or not working at all on some old pages… |
another error detected by |
yes. In fact no, this test is too base specific and the failure is inevitable. |
c4fce82
to
007f027
Compare
test/run-GW-test.sh
Outdated
crl "m=DEL_IND&i=$ID" | ||
crl "m=MRG&i=$ID" | ||
crl "m=CHG_EVT_IND_ORD&i=$ID" | ||
crl "m=NV_FAM&i=$ID&f=$FID" # f=family_id is base specific! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume 'NV_FAM' is a typo, and should be 'INV_FAM' ?
test/run-GW-test.sh
Outdated
crl "m=CHG_EVT_IND_ORD&i=$ID" | ||
crl "m=NV_FAM&i=$ID&f=$FID" # f=family_id is base specific! | ||
crl "m=CHG_EVT_FAM_ORD&i=$FID&ip=$ID" | ||
crl "m=DEL_FAM&i=$FID&ip=$FID$ID1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there missing characters in "&ip=$FID$ID1"
@hgouraud, I have new changes proposal for test/run-GW-test.sh in cid michelmno@e514bdd Using it in my environment is reporting CRITICAL errors similar to issue #1788 when url parameters are not valid. But also some unbound failures as detailed in attached log |
factorize header + place/date_popup functions in new table_utils subtemplate fix headers for Firefox simpler conditions for tooltip (wip)
6cdc569
to
529593c
Compare
* A new javascript function hide level btn > 12 (hard fixed atm, but quite strange if max=13…), perhaps we need to remove the hiding "-" button, it's not really usefull and can take a line for itself in some cases! * Load once js function to copy the caution in title of every high v buttons. * Hide the whole generation selector toolbar when not needed. * Fix selected v in toolbar when evar.v > max_ancestor_level and also e_v value for that case. Also: * Fix some rendering for some cases (fixing max_anc). * Remove gen in title and fix left margin vs container-fluid. * Fix him/her box, add a translation for neutral sex (iel in fr). * Remove generation reminder (big numbers on left) if v<4. * Add minimalist tooltips for each statistics. * Rollback menubar default v= to 7 (was downgraded to 3).
23f52d7
to
e64ef9f
Compare
* Ajust max_level, print max level on + button tooltip * Add curlev+1 to print right box-drawing caracteres when individual has descendant(s) at the hidden v+1 generation (not really estheatical but info was missing) * Better anc/deslist icons for button bar and menubar. * Add missing fa-rotate-90 in CSS! * Fix left margin overlaping home.
* replace sort functions by a lone polyvalent function * use order:-1 to sort descreasingly * sort by age using julian day “ages” * cleaner code
Notation is now the same as in destable Add short title and use monospace font for notation
fixes level 0 for desc1, also adapt title, add extend possibility to v+ button and remove useless total display relation date in small, remove bold for married/italic for not_married, switch to X for not_married instead move id/d-none for filters to the form itself to remove superflous line center title in ancestor picker modal
my bad!
Add two new targets to patch/unpatch bin/ged2gwb/dune.in and ged2gwb.ml in order that all various build work again. The perl regexps are compatible between all OS (sed one are diverging between Unix and BSD). This modification should be transparent for every usages. The "distrib" target has been reworked a bit to allow “make fmt distrib” used on Github Action CI.
… white add a new simple “gwd” target to build only gwd executable
use Perso.interp_templ rather than Util.open_etc_file
The latter does not interpret (or remember) the %let commands found in the template file.
This modification removes multiple errors appearing when the home.txt template file was called (undefined rng, random).
The fix has not been applied to Notes display as the base parameter is not available in this context.
For another case, the use of Perso.interp_templ created a dependency cycle!