TutorLoom
The learning platform for companies, colleges and training institutes. Free and open source, with an Enterprise edition.
פורום שאלות לקורס מאקרו כלכלה א׳
Translation pending
EducationJavaScript · CSSGitHub @roykiviti-rgbOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗פורום שאלות לקורס מאקרו כלכלה א׳ (57305). כל דיון משויך לשאלה: במבחן (שנה, מועד ושאלה), במרכז למידה או בתרגיל (מספר ושאלה), או לשאלה כללית. לפני שפותחים דיון, הפורום מראה את הדיונים שכבר נפתחו על אותה שאלה ומציע לשמור טיוטה ולעבור אליהם.
| קובץ | מה יש בו |
|---|---|
index.html | מבנה העמוד |
styles.css | העיצוב |
app.js | כל הלוגיקה |
firebase-config.js | הגדרות פרויקט ה-Firebase (צריך למלא) |
firestore.rules | כללי האבטחה: מי קורא ומי כותב מה |
vercel.json | הגדרות האירוח ב-Vercel |
</>), נותנים שם לאפליקציה (למשל macro-forum) ולוחצים Register app. אין צורך ב-Firebase Hosting.firebaseConfig שמופיע ומדביקים את הערכים ב-firebase-config.js. הערכים האלה ציבוריים מטבעם: מה שמגן על הנתונים הוא firestore.rules.eur3) ומצב production.firestore.rules ולוחצים Publish.Other. לא משנים Build Command או Output Directory.macro-forum.vercel.app.Google מאפשר להתחבר רק מכתובות מאושרות.
https:// (למשל macro-forum.vercel.app).admins. ה-Document ID הוא ה-UID, ומוסיפים שדה כלשהו, למשל role עם הערך admin.מתרגלים מוסיפים באותה דרך. כל מי שברשימה מקבל תג "מתרגל/ת" ליד השם בכל ההודעות.
כל דחיפה ל-main בריפו מעלה גרסה חדשה ל-Vercel אוטומטית, תוך פחות מדקה.
אם משנים את firestore.rules, צריך להדביק אותו מחדש ב-Firebase (שלב 3). Vercel לא מעדכן אותו.
בדיון על מבחן אפשר לבחור רק שנה, מועד ושאלה שבאמת היו. הרשימה נמצאת ב-EXAMS בתחילת app.js, ונבנתה מקבצי המבחנים בריפו של הקורס (2018–2026).
כדי להוסיף מבחן חדש, מוסיפים שורה. למשל, למבחן עם 7 שאלות ממוספרות:
2027: { "א": 7 },
אם השאלות לא ממוספרות רגיל, כותבים במקום המספר רשימה של שמות השאלות, כמו ב-2021–2023.
ב-firestore.rules מחליפים את השורה:
function signedIn() { return request.auth != null; }
בשורה:
function signedIn() { return request.auth != null && request.auth.token.email.matches('.*@mail[.]huji[.]ac[.]il$'); }
ומפרסמים את הכללים מחדש. כך רק מי שמתחבר עם חשבון של האוניברסיטה יוכל לקרוא ולכתוב.
התוכנית החינמית (Spark) כוללת 50,000 קריאות ו-20,000 כתיבות ביום.
כל כניסה לאתר קוראת את כל הדיונים והתגובות. לכן בפורום עם 300 הודעות, כ-150 כניסות ביום יגיעו למגבלה. אם הפורום יגדל מעבר לזה, אפשר לשנות את האתר כך שיקרא תגובות רק של הדיון שפתוח.